Skip to content

Commit

Permalink
[wip]: test to also push mac zip
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Oct 14, 2024
1 parent 7599d3b commit 816f90d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ jobs:
path: dist/Cockpit*.${{ matrix.extension }}
if-no-files-found: error

- name: Upload diff artifact (mac-only)
if: matrix.os == 'macos-13'
uses: actions/upload-artifact@v3
with:
name: Cockpit-${{ matrix.suffix }}-${{ matrix.arch }}-${{ env.VERSION }}.zip
path: dist/Cockpit*.zip
if-no-files-found: error

- name: Upload latest metadata artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -149,7 +157,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && success()
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/Cockpit-${{ matrix.suffix }}-${{ matrix.arch }}-${{ env.VERSION }}.${{ matrix.extension }}
file: dist/Cockpit-${{ matrix.suffix }}-${{ matrix.arch }}-${{ env.VERSION }}.*
tag: ${{ github.ref }}
overwrite: true
prerelease: true
Expand Down

0 comments on commit 816f90d

Please sign in to comment.