Skip to content

Commit

Permalink
[ci] updated package workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-tierny committed Sep 9, 2024
1 parent 8c85428 commit 2929994
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ jobs:
# macOS #
# ----- #
build-macos:
runs-on: macos-12
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, macos-14]
steps:
- uses: actions/checkout@v4
name: Checkout TTK-ParaView source code
Expand Down Expand Up @@ -112,7 +115,7 @@ jobs:
- name: Upload compressed binaries
uses: actions/upload-artifact@v4
with:
name: ttk-paraview-macOS
name: ttk-paraview-${{ matrix.os }}
path: build/ttk-paraview.tar.gz


Expand Down Expand Up @@ -170,7 +173,7 @@ jobs:
- name: Upload install executable
uses: actions/upload-artifact@v4
with:
name: ttk-paraview-windows
name: ttk-paraview-windows-2022
path: ttk-paraview.exe


Expand Down Expand Up @@ -236,21 +239,28 @@ jobs:
file: ttk-paraview-ubuntu-24.04/ttk-paraview.deb
asset_name: ttk-paraview-$tag-ubuntu-24.04.deb

- name: Upload MacOS 14 (arm64) .tar.gz as Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ttk-paraview-macos-14/ttk-paraview.tar.gz
asset_name: ttk-paraview-$tag-macos-14.tar.gz

- name: Upload .tar.gz as Release Asset
- name: Upload MacOS 12 .tar.gz as Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ttk-paraview-macOS/ttk-paraview.tar.gz
asset_name: ttk-paraview-$tag.tar.gz
file: ttk-paraview-macos-12/ttk-paraview.tar.gz
asset_name: ttk-paraview-$tag-macos-12.tar.gz

- name: Upload .exe as Release Asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ttk-paraview-windows/ttk-paraview.exe
file: ttk-paraview-windows-2022/ttk-paraview.exe
asset_name: ttk-paraview-$tag.exe

- name: Delete package artifacts
Expand Down

0 comments on commit 2929994

Please sign in to comment.