Skip to content

Commit b1563b8

Browse files
committed
change checkout to full history to get the latest tag
1 parent a41390b commit b1563b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/default.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18+
with:
19+
fetch-depth: 0 #checkout full history so we can get the latest tag
1820
- uses: actions/setup-node@v3
1921
with:
2022
node-version: "18.17.1"

0 commit comments

Comments
 (0)