mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
push.yml: remove wildcards from keys
This commit is contained in:
19
.github/workflows/push.yml
vendored
19
.github/workflows/push.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Install dependencies (apk)
|
||||
run: apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash tar
|
||||
run: apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash tar date
|
||||
|
||||
- name: Install dependencies (python)
|
||||
run: python3 -m pip install bdflib
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: source/Hexfile/${{ matrix.model }}.json
|
||||
key: metadata-${{ matrix.model }}-${{ steps.get_date.outputs.CURRENT_DATE }}
|
||||
key: metadata-${{ steps.get_date.outputs.CURRENT_DATE }}
|
||||
|
||||
|
||||
build_multi-lang:
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Install dependencies (apk)
|
||||
run: apk add --no-cache gcc-riscv-none-elf newlib-riscv-none-elf findutils python3 py3-pip make git bash musl-dev tar
|
||||
run: apk add --no-cache gcc-riscv-none-elf newlib-riscv-none-elf findutils python3 py3-pip make git bash musl-dev tar date
|
||||
- name: Install dependencies (python)
|
||||
run: python3 -m pip install bdflib
|
||||
|
||||
@@ -123,7 +123,7 @@ jobs:
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: source/Hexfile/${{ matrix.model }}_multi-lang.json
|
||||
key: metadata-${{ matrix.model }}_multi-lang-${{ steps.get_date.outputs.CURRENT_DATE }}
|
||||
key: metadata_multi-lang-${{ steps.get_date.outputs.CURRENT_DATE }}
|
||||
|
||||
|
||||
upload_metadata:
|
||||
@@ -135,23 +135,16 @@ jobs:
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: metadata
|
||||
key: metadata-*-${{ needs.build.outputs.current_date }}
|
||||
key: metadata-${{ needs.build.outputs.current_date }}
|
||||
- run: ls -R ; ls -R metadata || true
|
||||
|
||||
- name: Restore cached JSONs from build_multi-lang
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: metadata
|
||||
key: metadata-*-${{ needs.build_multi-lang.outputs.current_date }}
|
||||
key: metadata_multi-lang-${{ needs.build_multi-lang.outputs.current_date }}
|
||||
- run: ls -R ; ls -R metadata || true
|
||||
|
||||
- name: Restore cached JSONs by key wildcar
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: metadata_test
|
||||
key: metadata-*
|
||||
- run: ls -R ; ls -R metadata_test || true
|
||||
|
||||
- name: Upload JSONs in bulk
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user