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:
|
steps:
|
||||||
- name: Install dependencies (apk)
|
- 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)
|
- name: Install dependencies (python)
|
||||||
run: python3 -m pip install bdflib
|
run: python3 -m pip install bdflib
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
path: source/Hexfile/${{ matrix.model }}.json
|
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:
|
build_multi-lang:
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies (apk)
|
- 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)
|
- name: Install dependencies (python)
|
||||||
run: python3 -m pip install bdflib
|
run: python3 -m pip install bdflib
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ jobs:
|
|||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
path: source/Hexfile/${{ matrix.model }}_multi-lang.json
|
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:
|
upload_metadata:
|
||||||
@@ -135,23 +135,16 @@ jobs:
|
|||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: metadata
|
path: metadata
|
||||||
key: metadata-*-${{ needs.build.outputs.current_date }}
|
key: metadata-${{ needs.build.outputs.current_date }}
|
||||||
- run: ls -R ; ls -R metadata || true
|
- run: ls -R ; ls -R metadata || true
|
||||||
|
|
||||||
- name: Restore cached JSONs from build_multi-lang
|
- name: Restore cached JSONs from build_multi-lang
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: metadata
|
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
|
- 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
|
- name: Upload JSONs in bulk
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user