Skip to content

Commit

Permalink
Fix release workflow permissions (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
LastTalon authored Apr 25, 2024
1 parent 6d497b5 commit bfd9369
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
name: Release
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Project
uses: actions/checkout@v3
Expand All @@ -46,9 +48,9 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: Plasma ${{ github.ref }}
name: Plasma ${{ github.ref_name }}
body: |
Plasma ${{ github.ref }} is now available!
Plasma ${{ github.ref_name }} is now available!
files: |
plasma.rbxm
Expand All @@ -63,5 +65,8 @@ jobs:
- name: Install Aftman
uses: ok-nick/[email protected]

- name: Wally Login
run: wally login --token ${{ secrets.WALLY_AUTH_TOKEN }}

- name: Publish
run: wally publish --token ${{ secrets.WALLY_AUTH_TOKEN }}
run: wally publish

0 comments on commit bfd9369

Please sign in to comment.