Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e274cab

Browse files
committedNov 28, 2024
progress
1 parent 03d996f commit e274cab

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
 

‎.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
- uses: actions/checkout@v4
8585
- uses: ./
8686
with:
87-
nimble-version: stable
87+
nimble-version: 0.16.3
8888
repo-token: ${{ secrets.GITHUB_TOKEN }}
8989
parent-nimble-install-directory: ${{ runner.temp }}
9090

‎install_nimble.sh

+6-4
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,13 @@ mkdir -p "${nimble_install_dir}/bin"
9494
arch="x64"
9595

9696
if [[ "$os" = "Windows" ]]; then
97-
download_url="https://github.com/nim-lang/nimble/releases/download/v${nimble_version}/nimble-windows_${arch}.zip"
97+
download_url="https://github.com/nim-lang/nimble/releases/download/v${nimble_version}/nimble-windows_${arch}.tar.gz"
9898
info "Downloading from: ${download_url}"
99-
curl -sSL "${download_url}" > nimble.zip
100-
unzip -j nimble.zip "nimble.exe" -d "${nimble_install_dir}/bin"
101-
rm -f nimble.zip
99+
curl -sSL "${download_url}"
100+
tar xvz -C "${nimble_install_dir}/bin"
101+
# curl -sSL "${download_url}" > nimble.zip
102+
# unzip -j nimble.zip "nimble.exe" -d "${nimble_install_dir}/bin"
103+
# rm -f nimble.zip
102104
elif [[ "$os" = "macOS" || "$os" = "Darwin" ]]; then
103105
download_url="https://github.com/nim-lang/nimble/releases/download/v${nimble_version}/nimble-macosx_${arch}.tar.gz"
104106
info "Downloading from: ${download_url}"

0 commit comments

Comments
 (0)
Please sign in to comment.