Skip to content

Commit 4778504

Browse files
committed
try build in sniper to run on scout?
1 parent b89e8e5 commit 4778504

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build-rust.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@ jobs:
1616
- name: Build in Steam Runtime container
1717
uses: addnab/docker-run-action@v3
1818
with:
19-
image: registry.gitlab.steamos.cloud/steamrt/scout/sdk
19+
image: registry.gitlab.steamos.cloud/steamrt/sniper/sdk
2020
options: -v ${{ github.workspace }}:/work
2121
run: |
2222
set -ex
2323
apt-get update
2424
apt-get install -y curl build-essential
2525
26-
# Install Rust using older curl syntax and . instead of source
27-
curl https://sh.rustup.rs -sSf > rustup.sh
28-
sh rustup.sh -y
29-
. "$HOME/.cargo/env"
26+
# Install Rust
27+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
28+
source "$HOME/.cargo/env"
3029
3130
cd /work/lib
3231
cargo build --release

0 commit comments

Comments
 (0)