actions: fix Windows cache

This commit is contained in:
Jay Lee
2024-02-09 15:08:16 -05:00
committed by GitHub
parent fff892300b
commit 50c5986c3e

View File

@@ -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'