Update GitHub Actions workflow to use RELEASE_TOKEN for Gitea Packages upload, ensuring consistent authentication across steps.
Some checks failed
Build linux_amd64 extension and upload to Packages / build-linux-amd64 (push) Has been cancelled
Some checks failed
Build linux_amd64 extension and upload to Packages / build-linux-amd64 (push) Has been cancelled
This commit is contained in:
2
.github/workflows/build-linux-amd64.yml
vendored
2
.github/workflows/build-linux-amd64.yml
vendored
@@ -176,7 +176,7 @@ jobs:
|
|||||||
echo "Using version: $version"
|
echo "Using version: $version"
|
||||||
- name: Upload to Gitea Packages (generic)
|
- name: Upload to Gitea Packages (generic)
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
: "${GITEA_TOKEN:?GITEA_TOKEN secret is required}"
|
: "${GITEA_TOKEN:?GITEA_TOKEN secret is required}"
|
||||||
|
|||||||
Reference in New Issue
Block a user