Skip to content

Commit

Permalink
Update condition and token in github action
Browse files Browse the repository at this point in the history
The github action in 'build-stable.yaml' has been updated with a new condition for release. It now triggers only if the github reference starts with 'refs/tags/'. The token has also been updated from 'GITHUB_TOKEN' to 'NAUTHILUS_RELEASE' which specifies the token to be used for release authentication.

Signed-off-by: Christian Roessner <c@roessner.co>
  • Loading branch information
Christian Roessner committed May 15, 2024
1 parent 9c9b42e commit cdc4068
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.NAUTHILUS_RELEASE }}
files: server/nauthilus-${{ matrix.goos }}-${{ matrix.goarch }}

0 comments on commit cdc4068

Please sign in to comment.