Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LastTalon committed Jun 7, 2024
1 parent bac0aaf commit 4d9917a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 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 @@ -39,14 +41,17 @@ jobs:
uses: actions/download-artifact@v3
with:
name: build
path: matter-hooks.rbxm
path: build

- name: Rename Build
run: mv build/build.rbxm matter-hooks.rbxm

- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: Matter Hooks ${{ github.ref }}
name: Matter Hooks ${{ github.ref_name }}
body: |
Matter Hooks ${{ github.ref }} is now available!
Matter Hooks ${{ github.ref_name }} is now available!
files: |
matter-hooks.rbxm
Expand All @@ -61,5 +66,8 @@ jobs:
- name: Install Aftman
uses: ok-nick/setup-aftman@v0.3.0

- 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 4d9917a

Please sign in to comment.