Skip to content

Commit

Permalink
fix: fix linux prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed May 7, 2024
1 parent 7867a7b commit 4363494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Prepare & build (Linux arm64)
if: runner.os == 'Linux'
run: |
docker run --rm --volume $(pwd):/app --workdir /app -t arm64v8/ubuntu bash -c "./scripts/prepare-linux.sh && ./scripts/build-linux.sh"
docker run --rm --volume $(pwd):/app --workdir /app -t arm64v8/ubuntu /bin/bash -c "./scripts/prepare-linux.sh && ./scripts/build-linux.sh"
- name: Build (macOS)
if: runner.os == 'macOS'
run: bash ./scripts/build-macos.sh
Expand Down
2 changes: 2 additions & 0 deletions scripts/prepare-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ function run_as_root() {
fi
}

export DEBIAN_FRONTEND=noninteractive

if [ $(uname -m) == "x86_64" ]; then
DISTRO=$(lsb_release -c -s)
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | run_as_root tee /etc/apt/trusted.gpg.d/lunarg.asc
Expand Down

0 comments on commit 4363494

Please sign in to comment.