Skip to content

Commit 8271897

Browse files
committed
Fix outdated upload-artifact workflow
(I despite Github actions)
1 parent 9081120 commit 8271897

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ jobs:
1919
- name: Install MUSL dependencies
2020
run: sudo apt-get install -y musl-tools
2121
- name: Install nightly MUSL toolchain
22-
uses: actions-rs/toolchain@v1
23-
with:
24-
toolchain: nightly
25-
target: x86_64-unknown-linux-musl
22+
run: rustup target add x86_64-unknown-linux-musl
2623
- name: Build
2724
run: cargo build --release --target x86_64-unknown-linux-musl
2825
env:
2926
RUSTFLAGS: "-Ctarget-feature=+sse4.1"
3027
- name: Upload binary
31-
uses: actions/upload-artifact@v3
28+
uses: actions/upload-artifact@v4
3229
with:
3330
name: satpaper-x86_64-unknown-linux-musl
3431
path: target/x86_64-unknown-linux-musl/release/satpaper
@@ -47,7 +44,7 @@ jobs:
4744
env:
4845
RUSTFLAGS: "-Ctarget-feature=+sse4.1"
4946
- name: Upload binary
50-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v4
5148
with:
5249
name: satpaper-x86_64-pc-windows-gnu.exe
5350
path: target/release/satpaper.exe
@@ -66,7 +63,7 @@ jobs:
6663
env:
6764
RUSTFLAGS: "-Ctarget-feature=+sse4.1"
6865
- name: Upload binary
69-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4
7067
with:
7168
name: satpaper-x86_64-apple-darwin
7269
path: target/release/satpaper

0 commit comments

Comments
 (0)