Use gitea token permissions
Build / Build (push) Failing after 1m8s

This commit is contained in:
Deukhoofd committed 2026-11-17 19:39:24 +01:00
1 parent d77fe3995f
commit 25376aaca2
1 file changed
+4 -1
+4 -1
View File
@@ -11,6 +11,9 @@ env:
jobs: jobs:
Build: Build:
runs-on: [ ubuntu-latest ] runs-on: [ ubuntu-latest ]
permissions:
contents: read
packages: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -44,5 +47,5 @@ jobs:
run: > run: >
dotnet nuget push "./packages/*.nupkg" dotnet nuget push "./packages/*.nupkg"
--source "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json" --source "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json"
--api-key "${{ secrets.PACKAGES_TOKEN }}" --api-key "${{ secrets.GITHUB_TOKEN }}"
--skip-duplicate --skip-duplicate