Skip to content

Commit

Permalink
Add publish beta
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Apr 30, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f490457 commit ea6c3ea
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ jobs:
path: osx/build/QMK.Toolbox.pkg

publish_release:
name: Publish Release
name: Publish (Release)
runs-on: ubuntu-latest

needs: [build_win, build_macos]
@@ -111,3 +111,26 @@ jobs:
./qmk_toolbox_install.exe/qmk_toolbox_install.exe
./QMK.Toolbox.app.zip/QMK.Toolbox.app.zip
./QMK.Toolbox.pkg/QMK.Toolbox.pkg
publish_beta:
name: Publish (Beta)
runs-on: ubuntu-latest

needs: [build_win, build_macos]

if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

steps:
- uses: actions/download-artifact@v2

- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "beta"
prerelease: true
title: "Latest Beta"
files: |
./qmk_toolbox.exe/qmk_toolbox.exe
./qmk_toolbox_install.exe/qmk_toolbox_install.exe
./QMK.Toolbox.app.zip/QMK.Toolbox.app.zip
./QMK.Toolbox.pkg/QMK.Toolbox.pkg

0 comments on commit ea6c3ea

Please sign in to comment.