diff --git a/actions/release/action.yml b/actions/release/action.yml index ba2b717..636299d 100644 --- a/actions/release/action.yml +++ b/actions/release/action.yml @@ -19,6 +19,13 @@ runs: shell: bash 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 shell: bash run: bun install --frozen-lockfile