Expose github.token to Gitea NuGet workflow jobs for publish auth fallback.
Some checks failed
NuGet Publish / build-and-pack (push) Successful in 43s
NuGet Publish / publish-to-gitea (push) Failing after 47s

This commit is contained in:
Joseph Doherty
2026-02-20 13:42:55 -05:00
parent 9cafd56267
commit e0b336cde6

View File

@@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: mcr.microsoft.com/dotnet/sdk:10.0 image: mcr.microsoft.com/dotnet/sdk:10.0
env:
GITHUB_TOKEN: ${{ github.token }}
steps: steps:
- name: Checkout Repository - name: Checkout Repository
run: | run: |
@@ -47,6 +49,7 @@ jobs:
container: container:
image: mcr.microsoft.com/dotnet/sdk:10.0 image: mcr.microsoft.com/dotnet/sdk:10.0
env: env:
GITHUB_TOKEN: ${{ github.token }}
GITEA_NUGET_USERNAME: ${{ secrets.GITEA_NUGET_USERNAME }} GITEA_NUGET_USERNAME: ${{ secrets.GITEA_NUGET_USERNAME }}
GITEA_NUGET_TOKEN: ${{ secrets.GITEA_NUGET_TOKEN }} GITEA_NUGET_TOKEN: ${{ secrets.GITEA_NUGET_TOKEN }}
steps: steps: