Skip to content

Commit c3a527a

Browse files
committed
mswin - vcpkg archive is now installed with mswin Ruby
1 parent 4b33b9a commit c3a527a

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/mswin.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,22 @@ jobs:
2323
- name: Checkout
2424
uses: actions/checkout@v2
2525

26+
- name: Set up Ruby
27+
uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: mswin
30+
timeout-minutes: 5
31+
2632
- name: update vcpkg installation
2733
run: |
2834
$env:VCPKG_ROOT = $env:VCPKG_INSTALLATION_ROOT
2935
cd $env:VCPKG_INSTALLATION_ROOT
3036
git pull -q
3137
./bootstrap-vcpkg.bat
32-
$uri = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/releases/download/msys2-gcc-pkgs/mswin.7z"
33-
curl -L $uri -o $env:RUNNER_TEMP/mswin_temp.7z
34-
cd $env:VCPKG_INSTALLATION_ROOT
35-
&"C:\Program Files\7-Zip\7z" x $env:RUNNER_TEMP/mswin_temp.7z -aoa
3638
echo "`n———————————— ./vcpkg list ————————————"
3739
./vcpkg list
3840
timeout-minutes: 15
3941

40-
- name: Set up Ruby
41-
uses: ruby/setup-ruby@v1
42-
with:
43-
ruby-version: mswin
44-
timeout-minutes: 5
45-
4642
- name: Update mswin tools 7z and Upload
4743
run: ruby create_mswin_pkg.rb
4844
env:

0 commit comments

Comments
 (0)