mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-29 15:05:50 +00:00
[CONAN] use always() and step conclusion
This commit is contained in:
4
.github/workflows/macos-ga.yml
vendored
4
.github/workflows/macos-ga.yml
vendored
@@ -166,8 +166,8 @@ jobs:
|
||||
# Reference the primary key from the restore step
|
||||
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
|
||||
|
||||
- name: Save ccache with run_id fallback in case of lock contention
|
||||
if: steps.save-ccache.conclusion != 'success'
|
||||
- name: Save ccache with fallback in case of lock contention
|
||||
if: always() && steps.save-ccache.outcome != 'success'
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ~/.ccache
|
||||
|
||||
4
.github/workflows/nix-ga.yml
vendored
4
.github/workflows/nix-ga.yml
vendored
@@ -163,8 +163,8 @@ jobs:
|
||||
# Reference the primary key from the restore step
|
||||
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
|
||||
|
||||
- name: Save ccache with run_id fallback in case of lock contention
|
||||
if: steps.save-ccache.conclusion != 'success'
|
||||
- name: Save ccache with fallback in case of lock contention
|
||||
if: always() && steps.save-ccache.outcome != 'success'
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ~/.ccache
|
||||
|
||||
Reference in New Issue
Block a user