Skip to content

Commit 9c849ec

Browse files
committed
Made sure the tags are available for manual trigger of publish_assets.yml
1 parent 342e919 commit 9c849ec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish_assets.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
18+
with:
19+
# We need to download all tags so that the axion-release-plugin can resolve the most recent version tag.
20+
# This is useful only for the manual trigger.
21+
# For the release trigger, the tag is available on the current commit.
22+
fetch-depth: 0
23+
1824
# Get the version from the commit. This will depend on the trigger of the workflow
1925
# If the trigger is release, the version will be the tag on the commit.
2026
# If the trigger is a workflow_dispatch, the version will be the branch name, which is

0 commit comments

Comments
 (0)