Skip to content

Commit

Permalink
Ubuntu doesn't have zig package
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Jan 2, 2024
1 parent f004a4b commit 1119f9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/terraform-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install zig for cargo-lambda
run: |
sudo apt-get update
sudo apt-get install zig
- name: Install Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
Expand All @@ -67,6 +62,9 @@ jobs:
with:
tool: cargo-lambda@1

- name: Install zig for cargo-lambda
uses: goto-bus-stop/setup-zig@v2

- run: cargo lambda build --release --arm64
working-directory: ./server

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install zig for cargo-lambda
run: |
sudo apt-get update
sudo apt-get install zig
- name: Install Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
Expand All @@ -68,6 +63,9 @@ jobs:
with:
tool: cargo-lambda@1

- name: Install zig for cargo-lambda
uses: goto-bus-stop/setup-zig@v2

- run: cargo lambda build --release --arm64
working-directory: ./server

Expand Down

0 comments on commit 1119f9e

Please sign in to comment.