Skip to content

Commit

Permalink
Fix installation of Ubuntu packages in GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
treiher committed Nov 2, 2024
1 parent 512429c commit b508f6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
workspaces: frontend
- name: Install dependencies
run: |
sudo apt install libarchive-tools
sudo apt-get update
sudo apt-get install libarchive-tools
uv sync
cargo install --locked trunk@${{ env.TRUNK_VERSION }}
- name: Build distribution
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ jobs:
workspaces: frontend
- name: Install dependencies
run: |
sudo apt install libarchive-tools
sudo apt-get update
sudo apt-get install libarchive-tools
cargo install --locked trunk@${{ env.TRUNK_VERSION }}
- name: Test
run: |
Expand Down Expand Up @@ -176,7 +177,8 @@ jobs:
workspaces: frontend
- name: Install dependencies
run: |
sudo apt install libarchive-tools
sudo apt-get update
sudo apt-get install libarchive-tools
uv sync
cargo install --locked trunk@${{ env.TRUNK_VERSION }}
- name: Test
Expand Down Expand Up @@ -209,7 +211,8 @@ jobs:
workspaces: frontend
- name: Install dependencies
run: |
sudo apt install libarchive-tools
sudo apt-get update
sudo apt-get install libarchive-tools
uv lock --upgrade
uv sync
cargo update --manifest-path=frontend/Cargo.toml
Expand Down

0 comments on commit b508f6b

Please sign in to comment.