Skip to content

Commit

Permalink
Fix workflow release when a cache miss occurs on sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdean-digicatapult committed Dec 9, 2021
1 parent 476655e commit a6ba0b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ jobs:
CACHE_DEST: /var/lib/docker/buildkit/cache.db
# need sudo access to move to /var/lib/docker/buildkit/cache.db which is hopefully not going to change 🤞
run: |
sudo mv $CACHE_SOURCE $CACHE_DEST
sudo chmod 0777 $CACHE_DEST
if [ -f "$CACHE_SOURCE" ]; then
sudo mv $CACHE_SOURCE $CACHE_DEST
sudo chmod 0777 $CACHE_DEST
fi
- name: Generate tags
id: generate-tags
env:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = '2018'
license = 'Apache-2.0'
repository = 'https://github.com/digicatapult/vitalam-node/'
name = 'vitalam-node'
version = '2.4.2'
version = '2.4.3'

[[bin]]
name = 'vitalam-node'
Expand Down

0 comments on commit a6ba0b9

Please sign in to comment.