Skip to content

Commit

Permalink
do not cache 'latest' and 'versions'
Browse files Browse the repository at this point in the history
  • Loading branch information
wsipak committed Mar 27, 2024
1 parent 6646358 commit 4cf8692
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ jobs:
if [ -z "$CURRENT_LATEST" ] || ! git merge-base --is-ancestor "$ZEPHYR_VERSION" "$CURRENT_LATEST"; then
echo $ZEPHYR_VERSION > latest
gsutil cp latest $LATEST_REMOTE_FILE
gsutil setmeta -h "Cache-Control:no-store" $LATEST_REMOTE_FILE
fi
- name: Update the `versions` file in the bucket.
Expand All @@ -276,6 +277,7 @@ jobs:
echo "New version candidate for the versions file:"
echo "$ZEPHYR_VERSION" | tee -a versions
gsutil cp versions $VERSIONS_REMOTE_FILE
gsutil setmeta -h "Cache-Control:no-store" $VERSIONS_REMOTE_FILE
else
echo "The version is already present in the versions file:"
echo "$ZEPHYR_VERSION"
Expand Down

0 comments on commit 4cf8692

Please sign in to comment.