Skip to content

Commit

Permalink
configure GH action with token and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed May 19, 2023
1 parent ee82359 commit 199b9d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ concurrency:

env:
CARGO_TERM_COLOR: always
GITHUB_REPOSITORY: raphamorim/rio

jobs:
release-macos-x86:
name: Release x86_64-apple-darwin
runs-on: macOS-latest
permissions:
contents: write
discussions: write
strategy:
matrix:
target:
Expand All @@ -31,8 +35,8 @@ jobs:
- run: make pack-osx-x86
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
build/macos-x86.zip
LICENSE

0 comments on commit 199b9d9

Please sign in to comment.