Skip to content

Commit

Permalink
Ensure tags are present
Browse files Browse the repository at this point in the history
Strangely enough an action with a tag trigger doesn't seem to checkout
the tag. Also see the discussion around annotated tags here:
actions/checkout#290. As such, let's just be
very explicit and get a full git history with all tags as is.
  • Loading branch information
muff1nman committed Jun 8, 2021
1 parent 021e12f commit c4870aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
git fetch --tags --force
- uses: bazelbuild/setup-bazelisk@v1
- name: Mount bazel cache
uses: actions/cache@v2
Expand Down

0 comments on commit c4870aa

Please sign in to comment.