Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 9a5c930

Browse files
committed
Update container image in release workflow
1 parent 53bdd63 commit 9a5c930

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
target: x86_64-pc-windows-msvc
2828
filename: downapk-x86_64-windows.exe
2929
- os: ubuntu-latest
30-
container: rustlang/rust:nightly-alpine
30+
container: rust:latest
3131
target: aarch64-unknown-linux-gnu
3232
filename: downapk-aarch64-linux
3333
- os: macos-latest
@@ -40,21 +40,11 @@ jobs:
4040
uses: actions/checkout@v4
4141

4242
- name: Install Rust
43-
if: matrix.os != 'ubuntu-latest'
4443
uses: actions-rust-lang/setup-rust-toolchain@v1
4544
with:
4645
toolchain: nightly
4746
target: ${{ matrix.target }}
4847

49-
- name: Install OpenSSL on Alpine container
50-
if: matrix.container == 'rustlang/rust:nightly-alpine'
51-
run: |
52-
apk add --no-cache openssl openssl-dev
53-
54-
- name: Install rust toolchain
55-
run: |
56-
rustup target add ${{ matrix.target }}
57-
5848
- name: Build
5949
run: cargo build --release --target ${{ matrix.target }}
6050

0 commit comments

Comments
 (0)