mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 12:51: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
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Cache multiple paths
|
- name: Cache multiple paths
|
||||||
|
if: matrix.goal == 'build'
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
id: cache-python-ssl
|
id: cache-python-ssl
|
||||||
with:
|
with:
|
||||||
@@ -86,7 +87,7 @@ jobs:
|
|||||||
key: gam-${{ matrix.jid }}-20220901-01
|
key: gam-${{ matrix.jid }}-20220901-01
|
||||||
|
|
||||||
- name: Untar Cache archive
|
- 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: |
|
run: |
|
||||||
tar xvvf bin.tar.xz
|
tar xvvf bin.tar.xz
|
||||||
|
|
||||||
@@ -716,7 +717,7 @@ jobs:
|
|||||||
src/*.msi
|
src/*.msi
|
||||||
|
|
||||||
- name: Tar Cache archive
|
- 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: |
|
run: |
|
||||||
tar cJvvf bin.tar.xz bin/
|
tar cJvvf bin.tar.xz bin/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user