mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Add release job
This commit is contained in:
parent
1e62ae7005
commit
91b1da7cd0
1 changed files with 8 additions and 10 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -8,13 +8,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
# - os: macos-latest
|
||||
# CMD_BUILD: |
|
||||
# brew install create-dmg
|
||||
# poetry run make bundle_mac version=$GITHUB_REF_NAME
|
||||
# PATH: |
|
||||
# dist/buzz*.dmg
|
||||
# dist/buzz*.tar.gz
|
||||
- os: macos-latest
|
||||
CMD_BUILD: |
|
||||
brew install create-dmg
|
||||
poetry run make bundle_mac version=$GITHUB_REF_NAME
|
||||
PATH: |
|
||||
dist/buzz*.dmg
|
||||
dist/buzz*.tar.gz
|
||||
- os: windows-latest
|
||||
CMD_BUILD: |
|
||||
poetry run make bundle_windows version=$env:GITHUB_REF_NAME
|
||||
|
|
@ -49,15 +49,13 @@ jobs:
|
|||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: Buzz
|
||||
- run: ls && ls buzz
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: |
|
||||
buzz*.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue