mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
actions: fix Windows cache
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -113,7 +113,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
cache.tar.xz
|
cache.tar.xz
|
||||||
key: gam-${{ matrix.jid }}-20240209
|
key: gam-${{ matrix.jid }}-20240209a
|
||||||
|
|
||||||
- name: Untar Cache archive
|
- name: Untar Cache archive
|
||||||
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
|
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
|
||||||
@@ -840,11 +840,11 @@ jobs:
|
|||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
if [[ "${RUNNER_OS}" == "Windows" ]]; then
|
if [[ "${RUNNER_OS}" == "Windows" ]]; then
|
||||||
tar_folder="src/cpython/"
|
tar_folders="src/cpython/ bin/ssl"
|
||||||
else
|
else
|
||||||
tar_folder="bin/"
|
tar_folders="bin/"
|
||||||
fi
|
fi
|
||||||
tar cJvvf cache.tar.xz "$tar_folder"
|
tar cJvvf cache.tar.xz $tar_folders
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
|||||||
Reference in New Issue
Block a user