mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Update build.yml
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -78,6 +78,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache multiple paths
|
||||
if: matrix.goal == 'build'
|
||||
uses: actions/cache@v3
|
||||
id: cache-python-ssl
|
||||
with:
|
||||
@@ -86,7 +87,7 @@ jobs:
|
||||
key: gam-${{ matrix.jid }}-20220901-01
|
||||
|
||||
- name: Untar Cache archive
|
||||
if: steps.cache-python-ssl.outputs.cache-hit == 'true'
|
||||
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
|
||||
run: |
|
||||
tar xvvf bin.tar.xz
|
||||
|
||||
@@ -716,7 +717,7 @@ jobs:
|
||||
src/*.msi
|
||||
|
||||
- name: Tar Cache archive
|
||||
if: steps.cache-python-ssl.outputs.cache-hit != 'true'
|
||||
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
tar cJvvf bin.tar.xz bin/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user