Skip to content

Commit

Permalink
SAGE-1543: fix GitHub workflow warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jswantek committed Jan 11, 2023
1 parent 6f0c538 commit 8a7ec38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: self-hosted
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0 # checkout all git history

Expand Down Expand Up @@ -54,11 +54,11 @@ jobs:
run: |
if [ ${{ steps.download_overlay_cache.outcome }} == 'skipped' ]; then
echo "Cache step skipped, use current repo as working directory"
echo ::set-output name=workdir::.
echo "workdir=." >> $GITHUB_OUTPUT
else
if [ ${{ steps.download_overlay_cache.outputs.cache-hit }} == 'true' ]; then
echo "Overlay cache found, use cache [$workdir] as working directory"
echo ::set-output name=workdir::$workdir
echo "workdir=$workdir" >> $GITHUB_OUTPUT
else
echo "Overlay cache expected but not found. Exit"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
run: |
if [ ${{ steps.download_overlay_cache.outcome }} == 'skipped' ]; then
echo "Cache step skipped, use current repo as working directory"
echo ::set-output name=workdir::.
echo "workdir=." >> $GITHUB_OUTPUT
else
if [ ${{ steps.download_overlay_cache.outputs.cache-hit }} == 'true' ]; then
echo "Overlay cache found, use cache [$workdir] as working directory"
echo ::set-output name=workdir::$workdir
echo "workdir=$workdir" >> $GITHUB_OUTPUT
else
echo "Overlay cache expected but not found. Exit"
exit 1
Expand Down

0 comments on commit 8a7ec38

Please sign in to comment.