From 91b1da7cd0cf4e23db7e1789875b81e58513496d Mon Sep 17 00:00:00 2001 From: Chidi Williams Date: Sat, 1 Oct 2022 09:13:59 +0100 Subject: [PATCH] Add release job --- .github/workflows/ci.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 058ee66b..507264f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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