Skip to content

Commit 704f94f

Browse files
authored
Update main.yml
1 parent a812b9f commit 704f94f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
- name: Build with Gradle
3030
run: ./gradlew clean fatJar
3131

32+
- name: Determine new tag
33+
id: newtag
34+
run: echo "::set-output name=tag::$(date +'%Y%m%d%H%M%S')"
35+
36+
- name: Create Git Tag
37+
run: git tag ${{ steps.newtag.outputs.tag }} && git push origin ${{ steps.newtag.outputs.tag }}
38+
3239
- name: Publish Release
3340
uses: softprops/action-gh-release@v1
3441
with:

0 commit comments

Comments
 (0)