Skip to content

Commit

Permalink
fix: upload artifacts on all platforms, add both macos-13 & 11 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Oct 13, 2023
1 parent 9d82aa4 commit 16b52fd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/install-release-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
fail-fast: true
matrix:
platforms:
- host: macos-11
- host: macos-13
target: aarch-apple-darwin
- host: macos-11
target: x86_64-apple-darwin
- host: ubuntu-20.04
target: x86_64-unknown-linux-gnu
- host: windows-2019
Expand Down Expand Up @@ -53,7 +55,7 @@ jobs:
Copy-Item $HcPath -Destination binaries/hc-v${{ github.event.client_payload.hc_version }}-${{ matrix.platforms.target }}.exe
- name: Build binaries (Linux & Macos only)
if: matrix.platforms.host == 'macos-13' || matrix.platforms.host == 'ubuntu-20.04'
if: matrix.platforms.host == 'macos-11' || matrix.platforms.host == 'macos-13' || matrix.platforms.host == 'ubuntu-20.04'
run: |
cargo install --version ${{ github.event.client_payload.lair_version }} lair_keystore
LAIR_PATH=$(which lair-keystore)
Expand All @@ -72,8 +74,7 @@ jobs:
mv binaries/lair-keystore binaries/lair-keystore-${{ matrix.platforms.target }}
mv binaries/holochain binaries/holochain-${{ matrix.platforms.target }}
mv binaries/hc binaries/hc-${{ matrix.platforms.target }}
- name: Upload artifacts (unix paths)
if: matrix.platforms.host == 'ubuntu-20.04' || matrix.platforms.host == 'macos-11'
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: |
Expand Down

0 comments on commit 16b52fd

Please sign in to comment.