Skip to content

Commit

Permalink
Update cli_release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jebjohns committed Jun 9, 2023
1 parent 8fdd7d3 commit 51e485b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/cli_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}

- name: Create release for Linux
if: steps.release.outputs.name != ''
uses: softprops/action-gh-release@v1
with:
files: cmd/capten-linux
Expand All @@ -46,6 +47,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create release for macOS
if: steps.release.outputs.name != ''
uses: softprops/action-gh-release@v1
with:
files: cmd/capten-macos
Expand All @@ -57,6 +59,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create release for Windows
if: steps.release.outputs.name != ''
uses: softprops/action-gh-release@v1
with:
files: cmd/capten-windows.exe
Expand All @@ -66,3 +69,13 @@ jobs:
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload artifacts
if: steps.release.outputs.name == ''
uses: actions/upload-artifact@v2
with:
name: capten-binaries
path: |
cmd/capten-linux
cmd/capten-macos
cmd/capten-windows.exe

0 comments on commit 51e485b

Please sign in to comment.