mirror of
https://github.com/libjpeg-turbo/libjpeg-turbo.git
synced 2026-01-18 21:41:20 +01:00
CI/Win: Fix caching of installers
The cache action needs to run before the build setup.
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -100,6 +100,11 @@ jobs:
|
||||
else
|
||||
echo "BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}" >$GITHUB_ENV
|
||||
fi
|
||||
- name: Cache installers
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: c:/installers
|
||||
key: installers-${{github.job}}-${{env.BRANCH}}
|
||||
- name: Set up build
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -143,11 +148,6 @@ jobs:
|
||||
echo "GPG_KEY_NAME=\"${{secrets.GPG_KEY_NAME}}\"" >c:/buildscripts/gpgsign
|
||||
echo "GPG_KEY_ID=${{secrets.GPG_KEY_ID}}" >>c:/buildscripts/gpgsign
|
||||
echo "GPG_KEY_PASS=${{secrets.GPG_KEY_PASS}}" >>c:/buildscripts/gpgsign
|
||||
- name: Cache installers
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: c:/installers
|
||||
key: installers-${{github.job}}-${{env.BRANCH}}
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user