Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
f5da3bb2
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "0859fe909c007d7c7b849838bbd56cac4892c0d0"
Unverified
Commit
f5da3bb2
authored
Sep 13, 2023
by
Umang Yadav
Committed by
GitHub
Sep 13, 2023
Browse files
add contine_on_error for cache clearing (#2176)
parent
e05c94b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
.github/workflows/ci.yaml
.github/workflows/ci.yaml
+5
-6
No files found.
.github/workflows/ci.yaml
View file @
f5da3bb2
...
@@ -65,6 +65,7 @@ jobs:
...
@@ -65,6 +65,7 @@ jobs:
# GH actions can not update existing cache, as a workaround clear cache and then save it
# GH actions can not update existing cache, as a workaround clear cache and then save it
-
name
:
Clear tidy cache before saving
-
name
:
Clear tidy cache before saving
continue-on-error
:
true
if
:
${{ steps.tidy_restore.outputs.cache-hit }}
if
:
${{ steps.tidy_restore.outputs.cache-hit }}
shell
:
bash
shell
:
bash
env
:
env
:
...
@@ -72,7 +73,6 @@ jobs:
...
@@ -72,7 +73,6 @@ jobs:
run
:
|
run
:
|
gh extension install actions/gh-actions-cache --pin v1.0.1
gh extension install actions/gh-actions-cache --pin v1.0.1
gh actions-cache delete ${{ steps.tidy_restore.outputs.cache-matched-key }} --confirm
gh actions-cache delete ${{ steps.tidy_restore.outputs.cache-matched-key }} --confirm
continue-on-error
:
true
-
name
:
Save cache files for tidy
-
name
:
Save cache files for tidy
uses
:
actions/cache/save@v3
uses
:
actions/cache/save@v3
...
@@ -124,6 +124,7 @@ jobs:
...
@@ -124,6 +124,7 @@ jobs:
# GH actions can not update existing cache, as a workaround clear cache and then save it
# GH actions can not update existing cache, as a workaround clear cache and then save it
-
name
:
Clear cppcheck cache before saving
-
name
:
Clear cppcheck cache before saving
continue-on-error
:
true
if
:
${{ steps.cppcheck_restore.outputs.cache-hit }}
if
:
${{ steps.cppcheck_restore.outputs.cache-hit }}
shell
:
bash
shell
:
bash
env
:
env
:
...
@@ -131,7 +132,6 @@ jobs:
...
@@ -131,7 +132,6 @@ jobs:
run
:
|
run
:
|
gh extension install actions/gh-actions-cache --pin v1.0.1
gh extension install actions/gh-actions-cache --pin v1.0.1
gh actions-cache delete ${{ steps.cppcheck_restore.outputs.cache-matched-key }} --confirm
gh actions-cache delete ${{ steps.cppcheck_restore.outputs.cache-matched-key }} --confirm
continue-on-error
:
true
-
name
:
Save cache files for cppcheck
-
name
:
Save cache files for cppcheck
uses
:
actions/cache/save@v3
uses
:
actions/cache/save@v3
...
@@ -219,12 +219,12 @@ jobs:
...
@@ -219,12 +219,12 @@ jobs:
make -j$(nproc) tests driver
make -j$(nproc) tests driver
-
name
:
Clear ccache cache before saving
-
name
:
Clear ccache cache before saving
continue-on-error
:
true
if
:
${{ steps.ccache_restore.outputs.cache-hit }}
if
:
${{ steps.ccache_restore.outputs.cache-hit }}
shell
:
bash
shell
:
bash
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
run
:
|
set +x
gh extension install actions/gh-actions-cache --pin v1.0.1
gh extension install actions/gh-actions-cache --pin v1.0.1
gh actions-cache delete ${{ steps.ccache_restore.outputs.cache-matched-key }} --confirm
gh actions-cache delete ${{ steps.ccache_restore.outputs.cache-matched-key }} --confirm
...
@@ -374,12 +374,12 @@ jobs:
...
@@ -374,12 +374,12 @@ jobs:
# GH actions can not update existing cache, as a workaround clear cache and then save it
# GH actions can not update existing cache, as a workaround clear cache and then save it
-
name
:
Clear ccache cache before saving
-
name
:
Clear ccache cache before saving
continue-on-error
:
true
if
:
${{ steps.ccache_restore.outputs.cache-hit }}
if
:
${{ steps.ccache_restore.outputs.cache-hit }}
shell
:
bash
shell
:
bash
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
run
:
|
set +x
gh extension install actions/gh-actions-cache --pin v1.0.1
gh extension install actions/gh-actions-cache --pin v1.0.1
gh actions-cache delete ${{ steps.ccache_restore.outputs.cache-matched-key }} --confirm
gh actions-cache delete ${{ steps.ccache_restore.outputs.cache-matched-key }} --confirm
...
@@ -491,15 +491,14 @@ jobs:
...
@@ -491,15 +491,14 @@ jobs:
# this is a workaround, with GH actions can not update existing cache
# this is a workaround, with GH actions can not update existing cache
-
name
:
Clear ccache cache before saving
-
name
:
Clear ccache cache before saving
continue-on-error
:
true
if
:
${{ steps.ccache_restore_fpga.outputs.cache-hit }}
if
:
${{ steps.ccache_restore_fpga.outputs.cache-hit }}
shell
:
bash
shell
:
bash
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
run
:
|
set +x
gh extension install actions/gh-actions-cache
gh extension install actions/gh-actions-cache
gh actions-cache delete ${{ steps.ccache_restore_fpga.outputs.cache-matched-key }} --confirm
gh actions-cache delete ${{ steps.ccache_restore_fpga.outputs.cache-matched-key }} --confirm
continue-on-error
:
true
-
name
:
Save cache files for ccache
-
name
:
Save cache files for ccache
uses
:
actions/cache/save@v3
uses
:
actions/cache/save@v3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment