mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
save source cache
This commit is contained in:
7
.github/actions/build-electron/action.yml
vendored
7
.github/actions/build-electron/action.yml
vendored
@@ -220,8 +220,15 @@ runs:
|
||||
with:
|
||||
name: generated_artifacts_${{ env.ARTIFACT_KEY }}
|
||||
path: ./generated_artifacts_${{ inputs.artifact-platform }}_${{ inputs.target-arch }}
|
||||
- name: Upload Src cache ${{ inputs.step-suffix }}
|
||||
if: ${{ inputs.target-arch == 'x64' && inputs.target-platform == 'win' }}
|
||||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
|
||||
with:
|
||||
name: src_cache_${{ env.ARTIFACT_KEY }}
|
||||
path: ./src_cache
|
||||
- name: Upload Src Artifacts ${{ inputs.step-suffix }}
|
||||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
|
||||
with:
|
||||
name: src_artifacts_${{ env.ARTIFACT_KEY }}
|
||||
path: ./src_artifacts_${{ inputs.artifact-platform }}_${{ inputs.target-arch }}
|
||||
|
||||
|
||||
3
.github/actions/restore-cache-aks/action.yml
vendored
3
.github/actions/restore-cache-aks/action.yml
vendored
@@ -47,3 +47,6 @@ runs:
|
||||
|
||||
echo "Wiping Electron Directory"
|
||||
rm -rf src/electron
|
||||
|
||||
mkdir src_cache
|
||||
cp $cache_path src_cache
|
||||
Reference in New Issue
Block a user