Skip to content

Commit

Permalink
try fix workflow by fetching unshallow
Browse files Browse the repository at this point in the history
  • Loading branch information
luttje committed Dec 1, 2024
1 parent 59235cb commit 4f357e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Store the latest tag in a variable
id: get_tag
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git fetch --prune --unshallow --tags
latest_tag=$(git describe --abbrev=0 --tags)
echo "LATEST_TAG=$latest_tag" >> $GITHUB_ENV
echo "Latest tag is $LATEST_TAG"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ on:
push:
branches:
- main
paths:
- 'libs/**'
- 'tests/**'
pull_request:
branches:
- '**'
paths:
- 'libs/**'
- 'tests/**'
jobs:
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4f357e8

Please sign in to comment.