File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 84
84
- uses : actions/checkout@v4
85
85
- uses : ./
86
86
with :
87
- nimble-version : stable
87
+ nimble-version : 0.16.3
88
88
repo-token : ${{ secrets.GITHUB_TOKEN }}
89
89
parent-nimble-install-directory : ${{ runner.temp }}
90
90
Original file line number Diff line number Diff line change @@ -94,11 +94,13 @@ mkdir -p "${nimble_install_dir}/bin"
94
94
arch=" x64"
95
95
96
96
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 "
98
98
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
102
104
elif [[ " $os " = " macOS" || " $os " = " Darwin" ]]; then
103
105
download_url=" https://github.com/nim-lang/nimble/releases/download/v${nimble_version} /nimble-macosx_${arch} .tar.gz"
104
106
info " Downloading from: ${download_url} "
You can’t perform that action at this time.
0 commit comments