mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-27 08:05:42 +00:00
Second try on internal/global cache
This commit is contained in:
parent
09972b9bb9
commit
d0c4d72cb1
26
.github/workflows/cooker.yml
vendored
26
.github/workflows/cooker.yml
vendored
|
@ -41,12 +41,9 @@ jobs:
|
||||||
needs: [Job1_-_Prepearing_enviornment]
|
needs: [Job1_-_Prepearing_enviornment]
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Retrieve previous cache
|
- uses: actions/download-artifact@v2
|
||||||
id: global-cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
name: global-cache
|
||||||
key: cooker-global-cache
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -68,7 +65,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
path: /home/runner/work/RetroDECK
|
||||||
key: jobs.Job1_-_Prepearing_enviornment.steps.buildID
|
key: ${{ jobs.Job1_-_Prepearing_enviornment.steps.buildID }}
|
||||||
|
|
||||||
# - name: Continuing with previous worklow cache
|
# - name: Continuing with previous worklow cache
|
||||||
# if: steps.cache-cooker.outputs.cache-hit == 'true'
|
# if: steps.cache-cooker.outputs.cache-hit == 'true'
|
||||||
|
@ -95,7 +92,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
path: /home/runner/work/RetroDECK
|
||||||
key: jobs.Job1_-_Prepearing_enviornment.steps.buildID
|
key: ${{ jobs.Job1_-_Prepearing_enviornment.steps.buildID }}
|
||||||
|
|
||||||
- name: Initializing enviornment
|
- name: Initializing enviornment
|
||||||
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||||
|
@ -125,7 +122,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
path: /home/runner/work/RetroDECK
|
||||||
key: jobs.Job1_-_Prepearing_enviornment.steps.buildID
|
key: ${{ jobs.Job1_-_Prepearing_enviornment.steps.buildID }}
|
||||||
|
|
||||||
- name: Initializing enviornment
|
- name: Initializing enviornment
|
||||||
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||||
|
@ -155,7 +152,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
path: /home/runner/work/RetroDECK
|
||||||
key: jobs.Job1_-_Prepearing_enviornment.steps.buildID
|
key: ${{ jobs.Job1_-_Prepearing_enviornment.steps.buildID }}
|
||||||
|
|
||||||
- name: Initializing enviornment
|
- name: Initializing enviornment
|
||||||
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||||
|
@ -185,7 +182,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
path: /home/runner/work/RetroDECK
|
||||||
key: jobs.Job1_-_Prepearing_enviornment.steps.buildID
|
key: ${{ jobs.Job1_-_Prepearing_enviornment.steps.buildID }}
|
||||||
|
|
||||||
- name: Initializing enviornment
|
- name: Initializing enviornment
|
||||||
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
#if: steps.cache-cooker.outputs.cache-hit != 'true'
|
||||||
|
@ -214,7 +211,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
path: /home/runner/work/RetroDECK
|
||||||
key: jobs.Job1_-_Prepearing_enviornment.steps.buildID
|
key: ${{ jobs.Job1_-_Prepearing_enviornment.steps.buildID }}
|
||||||
|
|
||||||
- name: Get date for artifacts
|
- name: Get date for artifacts
|
||||||
id: date
|
id: date
|
||||||
|
@ -244,12 +241,9 @@ jobs:
|
||||||
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
||||||
repo: RetroDECK-cooker
|
repo: RetroDECK-cooker
|
||||||
|
|
||||||
- name: Regenerate global cache
|
- uses: actions/download-artifact@v2
|
||||||
id: global-cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/RetroDECK
|
name: global-cache
|
||||||
key: cooker-global-cache
|
|
||||||
|
|
||||||
# Job8_-_Uploading_cache:
|
# Job8_-_Uploading_cache:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue