Skip to content

Commit bd6a261

Browse files
authored
chore(windows platform): Use a simpler CI invocation (#3029)
Signed-off-by: Ana Hobden <[email protected]>
1 parent b0c1e2b commit bd6a261

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -106,42 +106,9 @@ jobs:
106106
runs-on: windows-2019
107107
steps:
108108
- uses: actions/checkout@v1
109-
- name: "Download Perl"
110-
shell: bash
111-
env:
112-
VERSION: "5.30.0.1"
113-
SHA256SUM: "459de13a284a4c83213208c9caa1c372c81136b6e863a3f13d42f631048e0b12" # we need to verify checksum because strawberryperl.com doesn't support HTTPS
114-
run: |
115-
curl -sSf http://strawberryperl.com/download/$VERSION/strawberry-perl-$VERSION-64bit.msi > perl-installer.msi
116-
echo "$SHA256SUM perl-installer.msi" | sha256sum --check --status
117-
- name: "Install Perl"
118-
shell: cmd # msiexec fails when called from bash
119-
run: |
120-
msiexec /quiet /i perl-installer.msi
121-
del perl-installer.msi
122-
- name: "Download CMake"
123-
shell: bash
124-
env:
125-
VERSION: "3.15.5"
126-
run: |
127-
curl -sSfL https://github.com/Kitware/CMake/releases/download/v$VERSION/cmake-$VERSION-win64-x64.msi > cmake-installer.msi
128-
- name: "Install CMake"
129-
shell: cmd # msiexec fails when called from bash
130-
run: |
131-
msiexec /quiet /i cmake-installer.msi
132-
del cmake-installer.msi
133-
- name: "Install Wix"
134-
shell: bash
135-
run: |
136-
mkdir -p /c/wix
137-
cd /c/wix
138-
curl -sSfL https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip > wix-binaries.zip
139-
unzip wix-binaries.zip
140-
rm wix-binaries.zip
141109
- name: "Build archive"
142110
shell: bash
143111
run: |
144-
export PATH="$HOME/.cargo/bin:/c/Strawberry/perl/bin:/c/Program Files/CMake/bin:$PATH"
145112
export RUSTFLAGS=-Ctarget-feature=+crt-static
146113
export FEATURES="default-msvc"
147114
export ARCHIVE_TYPE="zip"

0 commit comments

Comments
 (0)