Skip to content

Commit

Permalink
chore(workflow): use Github provided workflow token
Browse files Browse the repository at this point in the history
  • Loading branch information
shanoaice committed Sep 16, 2023
1 parent 62c2ce0 commit 8ba71f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- 'github-v*'

permissions:
packages: write

env:
DOTNET_VERSION: ${{ vars.DOTNET_VERSION }}

Expand All @@ -22,7 +25,7 @@ jobs:
dotnet-version: ${{ env.DOTNET_VERSION }}
source-url: https://nuget.pkg.github.com/Shadowsocks-NET/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.HUB_PACKAGE_PAT }}
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install buildtools
run: dotnet tool restore
Expand Down

0 comments on commit 8ba71f5

Please sign in to comment.