Skip to content

Commit 6475b3d

Browse files
committed
windows do not come with wget
changed also on create-release for uniformity
1 parent 8d08075 commit 6475b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# This is a workaround while waiting for create-release action to implement auto pre-release based on tag
3636
id: prerelease
3737
run: |
38-
wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.1.0.zip
38+
curl -L -s https://github.com/fsaintjacques/semver-tool/archive/3.1.0.zip -o /tmp/3.1.0.zip
3939
unzip -p /tmp/3.1.0.zip semver-tool-3.1.0/src/semver >/tmp/semver && chmod +x /tmp/semver
4040
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "::set-output name=IS_PRE::true"; fi
4141
@@ -400,7 +400,7 @@ jobs:
400400
# This is a workaround while waiting for create-release action to implement auto pre-release based on tag
401401
id: prerelease
402402
run: |
403-
wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.1.0.zip
403+
curl -L -s https://github.com/fsaintjacques/semver-tool/archive/3.1.0.zip -o /tmp/3.1.0.zip
404404
unzip -p /tmp/3.1.0.zip semver-tool-3.1.0/src/semver >/tmp/semver && chmod +x /tmp/semver
405405
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "::set-output name=IS_PRE::true"; fi
406406

0 commit comments

Comments
 (0)