fix release auth

This commit is contained in:
Dan Finch 2026-05-02 00:51:59 +02:00
parent 1bd3c1f382
commit 5d98075b42

View file

@ -19,6 +19,13 @@ runs:
shell: bash shell: bash
run: curl -fsSL https://bun.sh/install | bash && echo "$HOME/.bun/bin" >> "$GITHUB_PATH" run: curl -fsSL https://bun.sh/install | bash && echo "$HOME/.bun/bin" >> "$GITHUB_PATH"
- name: Configure git auth
shell: bash
env:
GITEA_TOKEN: ${{ inputs.gitea-token }}
GITEA_URL: ${{ inputs.gitea-url }}
run: git remote set-url origin "https://oauth2:${GITEA_TOKEN}@${GITEA_URL#https://}/${GITHUB_REPOSITORY}.git"
- name: Install dependencies - name: Install dependencies
shell: bash shell: bash
run: bun install --frozen-lockfile run: bun install --frozen-lockfile