Skip to content

Commit

Permalink
chore(ci): set path
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriknielaender committed Sep 19, 2023
1 parent 8362fb6 commit 1e3f0b8
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install libarchive
run: sudo apt-get update && sudo apt-get install -y libarchive-dev

- name: Check libarchive path
run: whereis libarchive
run: whereis libarchive-dev && pkg-config --libs libarchive

- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
Expand All @@ -38,7 +38,10 @@ jobs:

- name: Install libarchive
run: brew install libarchive


- name: Set libarchive
run: echo 'export PATH="/usr/local/opt/libarchive/bin:$PATH"' >> /Users/runner/.bash_profile

- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
Expand Down Expand Up @@ -67,13 +70,13 @@ jobs:
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Download Linux artifact
uses: actions/download-artifact@v2
with:
name: zvm-linux
path: artifacts/

- name: Upload Release Asset Linux
id: upload-release-asset-linux
uses: actions/upload-release-asset@v1
Expand All @@ -88,7 +91,7 @@ jobs:
with:
name: zvm-macos
path: artifacts/

- name: Upload Release Asset Macos
id: upload-release-asset-macos
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 1e3f0b8

Please sign in to comment.