Skip to content

Commit efa8485

Browse files
committed
Correct artifact paths for release runtimes
1 parent 9c9f1e9 commit efa8485

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

.github/workflows/runtimes.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/upload-artifact@v4
2323
with:
2424
name: amd64-linux
25-
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
25+
path: tmp/runtimes/*.tar.gz
2626
overwrite: true
2727
retention-days: 2
2828
compression-level: 0
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/upload-artifact@v4
4040
with:
4141
name: arm64-linux
42-
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
42+
path: tmp/runtimes/*.tar.gz
4343
overwrite: true
4444
retention-days: 2
4545
compression-level: 0
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/upload-artifact@v4
5757
with:
5858
name: amd64-mac
59-
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
59+
path: tmp/runtimes/*.tar.gz
6060
overwrite: true
6161
retention-days: 2
6262
compression-level: 0
@@ -73,7 +73,7 @@ jobs:
7373
- uses: actions/upload-artifact@v4
7474
with:
7575
name: arm64-mac
76-
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
76+
path: tmp/runtimes/*.tar.gz
7777
overwrite: true
7878
retention-days: 2
7979
compression-level: 0
@@ -95,7 +95,7 @@ jobs:
9595
- uses: actions/upload-artifact@v4
9696
with:
9797
name: amd64-freebsd
98-
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
98+
path: tmp/runtimes/*.tar.gz
9999
overwrite: true
100100
retention-days: 2
101101
compression-level: 0

ci/runtimes.sh

-9
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ function install_rust {
6161
export PATH="${CARGO_HOME}/bin:${PATH}"
6262
}
6363

64-
function init_rust {
65-
rustup-init --quiet -y --no-modify-path --profile minimal \
66-
--default-toolchain $RUST_VERSION
67-
68-
export PATH="${CARGO_HOME}/bin:${PATH}"
69-
}
70-
7164
mkdir -p "${DIR}"
7265

7366
case "$1" in
@@ -80,11 +73,9 @@ case "$1" in
8073
build "aarch64-unknown-linux-musl" "arm64-linux-musl"
8174
;;
8275
"amd64-mac")
83-
init_rust
8476
build "x86_64-apple-darwin" "amd64-mac-native"
8577
;;
8678
"arm64-mac")
87-
init_rust
8879
build "aarch64-apple-darwin" "arm64-mac-native"
8980
;;
9081
"amd64-freebsd")

0 commit comments

Comments
 (0)