mswin build - install src zlib files after checkout
actions/checkout deletes the contents of the source directory.
This commit is contained in:
parent
bf758ef8b4
commit
b6175c9e4f
10
.github/workflows/windows.yml
vendored
10
.github/workflows/windows.yml
vendored
@ -23,11 +23,6 @@ jobs:
|
|||||||
- name: Install libraries with vcpkg
|
- name: Install libraries with vcpkg
|
||||||
run: |
|
run: |
|
||||||
vcpkg --triplet x64-windows install readline
|
vcpkg --triplet x64-windows install readline
|
||||||
- name: zlib
|
|
||||||
run: |
|
|
||||||
$zlib = 'zlib1211.zip'
|
|
||||||
curl -fsSL -o $zlib --retry 10 https://zlib.net/$zlib
|
|
||||||
&'C:\Program Files\7-Zip\7z.exe' x -osrc/ext/zlib $zlib
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
||||||
@ -47,6 +42,11 @@ jobs:
|
|||||||
- run: ./src/tool/actions-commit-info.sh
|
- run: ./src/tool/actions-commit-info.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
id: commit_info
|
id: commit_info
|
||||||
|
- name: Install zlib
|
||||||
|
run: |
|
||||||
|
$zlib = 'zlib1211.zip'
|
||||||
|
curl -fsSL -o $zlib --retry 10 https://zlib.net/$zlib
|
||||||
|
&'C:\Program Files\7-Zip\7z.exe' x -osrc/ext/zlib $zlib
|
||||||
- run: md build
|
- run: md build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
- name: Configure
|
- name: Configure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user