mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-03 07:41:04 -07:00
CICD: Fail on no cache hit (#3429)
This commit is contained in:
parent
5aae123cbb
commit
40a980f5d8
1 changed files with 7 additions and 6 deletions
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: |
|
||||||
|
|
@ -65,12 +72,6 @@ jobs:
|
||||||
echo "date=$date" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
|
echo "date=$date" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue