Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rainlizard authored Mar 19, 2024
1 parent 6539fe2 commit 195d202
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@ jobs:
name: unearth-${{ steps.version_info.outputs.FULL_VERSION }}-windows
path: ./bin/ExportWindows/


- name: Install Butler
if: startsWith(github.ref, 'refs/tags/')
run: |
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
unzip butler.zip
chmod +x butler
./butler -V
- name: Upload to itch.io
if: startsWith(github.ref, 'refs/tags/')
env:
BUTLER_API_KEY: ${{ secrets.ITCHIO_API_KEY }}
run: |
./butler push ./bin/ExportLinux/Unearth rainlizard/unearth:linux-${{ steps.version_info.outputs.FULL_VERSION }}
./butler push ./bin/ExportWindows/Unearth rainlizard/unearth:windows-${{ steps.version_info.outputs.FULL_VERSION }}
- name: Zip Linux Build for Release
if: startsWith(github.ref, 'refs/tags/')
run: |
Expand Down

0 comments on commit 195d202

Please sign in to comment.