mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 20:30:37 +08:00
CICD: Fail on no cache hit (#3429)
This commit is contained in:
parent
5aae123cbb
commit
40a980f5d8
13
.github/workflows/build_orca.yml
vendored
13
.github/workflows/build_orca.yml
vendored
@ -26,6 +26,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: load cached deps
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ${{ inputs.cache-path }}
|
||||||
|
key: ${{ inputs.cache-key }}
|
||||||
|
fail-on-cache-miss: true
|
||||||
|
|
||||||
- name: Get the version and date on Ubuntu and macOS
|
- name: Get the version and date on Ubuntu and macOS
|
||||||
if: inputs.os != 'windows-latest'
|
if: inputs.os != 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
@ -66,12 +73,6 @@ jobs:
|
|||||||
echo "date: ${{ env.date }} version: ${{ env.ver }}"
|
echo "date: ${{ env.date }} version: ${{ env.ver }}"
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: load cached deps
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ${{ inputs.cache-path }}
|
|
||||||
key: ${{ inputs.cache-key }}
|
|
||||||
|
|
||||||
# Mac
|
# Mac
|
||||||
- name: Install tools mac
|
- name: Install tools mac
|
||||||
if: inputs.os == 'macos-12'
|
if: inputs.os == 'macos-12'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user