Skip to content

Commit

Permalink
Correct artifact paths for release runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Aug 14, 2024
1 parent 9c9f1e9 commit efa8485
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: amd64-linux
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
path: tmp/runtimes/*.tar.gz
overwrite: true
retention-days: 2
compression-level: 0
Expand All @@ -39,7 +39,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: arm64-linux
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
path: tmp/runtimes/*.tar.gz
overwrite: true
retention-days: 2
compression-level: 0
Expand All @@ -56,7 +56,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: amd64-mac
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
path: tmp/runtimes/*.tar.gz
overwrite: true
retention-days: 2
compression-level: 0
Expand All @@ -73,7 +73,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: arm64-mac
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
path: tmp/runtimes/*.tar.gz
overwrite: true
retention-days: 2
compression-level: 0
Expand All @@ -95,7 +95,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: amd64-freebsd
path: tmp/runtimes/${{ github.ref_name }}/*.tar.gz
path: tmp/runtimes/*.tar.gz
overwrite: true
retention-days: 2
compression-level: 0
Expand Down
9 changes: 0 additions & 9 deletions ci/runtimes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ function install_rust {
export PATH="${CARGO_HOME}/bin:${PATH}"
}

function init_rust {
rustup-init --quiet -y --no-modify-path --profile minimal \
--default-toolchain $RUST_VERSION

export PATH="${CARGO_HOME}/bin:${PATH}"
}

mkdir -p "${DIR}"

case "$1" in
Expand All @@ -80,11 +73,9 @@ case "$1" in
build "aarch64-unknown-linux-musl" "arm64-linux-musl"
;;
"amd64-mac")
init_rust
build "x86_64-apple-darwin" "amd64-mac-native"
;;
"arm64-mac")
init_rust
build "aarch64-apple-darwin" "arm64-mac-native"
;;
"amd64-freebsd")
Expand Down

0 comments on commit efa8485

Please sign in to comment.