Skip to content

Commit 7c65765

Browse files
committed
ok finally
1 parent af9bd27 commit 7c65765

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ jobs:
8484
contents: write
8585

8686
steps:
87+
- name: Checkout code
88+
uses: actions/checkout@v4
89+
with:
90+
sparse-checkout: get_version.cmake
91+
8792
- name: Download Artifact
8893
uses: actions/download-artifact@v4
8994
with:
@@ -96,11 +101,6 @@ jobs:
96101
zip -rj release/"${base_name}.zip" "$dir"/*
97102
done
98103
99-
- name: Checkout code
100-
uses: actions/checkout@v4
101-
with:
102-
sparse-checkout: get_version.cmake
103-
104104
- name: Get project version
105105
id: get_version
106106
run: |
@@ -127,7 +127,7 @@ jobs:
127127
uses: softprops/action-gh-release@v2
128128
with:
129129
tag_name: ${{ steps.tag_release.outputs.tag }}
130-
name: Nightly Build ${{ steps.tag_release.outputs.tag }}
130+
name: ${{ steps.tag_release.outputs.tag }}
131131
draft: false
132132
prerelease: ${{ github.event_name == 'schedule' || github.event_name == 'push' }}
133133
files: release/*.zip

0 commit comments

Comments
 (0)