Revert "CI: fetch the Fennec SDK with the job token"
Some checks failed
release / release (push) Failing after 1m6s

A job token only reads its own repo; the SDK has to be readable without a login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-10-25 18:01:42 +01:00
parent d38298c96d
commit 1c19aa5fd2

View File

@@ -19,7 +19,6 @@ jobs:
container:
image: docker.gitea.com/runner-images:ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
W: /tmp/fennec-steam
CARGO_HOME: /tmp/fennec-steam/cargo
RUSTUP_HOME: /tmp/fennec-steam/rustup
@@ -30,9 +29,6 @@ jobs:
- name: Checkout
run: |
mkdir -p "$W"
# The Fennec SDK through cargo, with this job's token (works while
# the Gitea needs a login to read).
git config --global "http.${GITHUB_SERVER_URL}/fennec/sdk.extraHeader" "Authorization: token ${{ secrets.GITHUB_TOKEN }}"
git clone --depth 1 --branch main \
"${GITHUB_SERVER_URL%%://*}://oauth2:${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#*://}/${GITHUB_REPOSITORY}.git" "$W/src"
export DEBIAN_FRONTEND=noninteractive