Update workflow to use ACCESS_TOKEN with Basic Auth
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m39s

This commit is contained in:
robojerk 2025-07-21 17:15:14 +00:00
parent 22a70aa6f3
commit 7a958f59f0

View file

@ -36,9 +36,9 @@ jobs:
apt-get update -y
apt-get install -y curl jq
- name: Debug - Check automatic token (safe)
- name: Debug - Check ACCESS_TOKEN (safe)
run: |
echo "=== Debugging Automatic Token ==="
echo "=== Debugging ACCESS_TOKEN ==="
echo "Token exists: ${{ secrets.FORGEJO_TOKEN != '' }}"
echo "Token length: ${#FORGEJO_TOKEN}"
echo "Token first 4 chars: $(echo "$FORGEJO_TOKEN" | cut -c1-4)..."
@ -51,7 +51,7 @@ jobs:
- name: Test API endpoints
run: |
echo "=== Testing Forgejo API endpoints with automatic token ==="
echo "=== Testing Forgejo API endpoints with ACCESS_TOKEN ==="
# Test 1: Check Forgejo version and capabilities
echo "Testing Forgejo version..."
@ -250,7 +250,7 @@ jobs:
- name: Upload to Debian Package Registry (Primary)
run: |
echo "=== Attempting Debian Package Registry upload with automatic token ==="
echo "=== Attempting Debian Package Registry upload with ACCESS_TOKEN ==="
# Upload each .deb package to Forgejo's Debian Package Registry
for deb_file in release-assets/*.deb; do
@ -281,7 +281,7 @@ jobs:
- name: Upload to Generic Package Registry (Fallback)
run: |
echo "=== Attempting Generic Package Registry upload (fallback) with automatic token ==="
echo "=== Attempting Generic Package Registry upload (fallback) with ACCESS_TOKEN ==="
# Upload each .deb package to Forgejo's Generic Package Registry
for deb_file in release-assets/*.deb; do