Skip to content

Commit

Permalink
Merge pull request #3 from RafaelWO/feature/release-action
Browse files Browse the repository at this point in the history
Added release step
  • Loading branch information
RafaelWO authored Jul 31, 2021
2 parents 400362f + 12e5828 commit 3edfc9a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
- uses: actions/checkout@v2
- name: LÖVE Build
# You may pin to the exact commit or the version.
# uses: nhartland/love-build@a6462dd03e091b755d320b2b7f9714b461631b63
# uses: nhartland/love-build@v1-beta2
uses: nhartland/love-build@674b4d11d31cc1ed67b3f3de4f2887545ab4ef4e
# uses: RafaelWO/love-build@fix/macos-build-combatibility

id: love-build
with:
# Name of the application to be built
app_name: space-love
Expand All @@ -40,3 +44,15 @@ jobs:
with:
name: built-applications
path: 'release'

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ steps.love-build.outputs.macos-filename }}
${{ steps.love-build.outputs.win32-filename }}
${{ steps.love-build.outputs.win64-filename }}
${{ steps.love-build.outputs.love-filename }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3edfc9a

Please sign in to comment.