Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit 20f653e

Browse files
author
hub
committed
build release on version tag push
1 parent c0e8479 commit 20f653e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/workflow.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: '🚔'
2-
on: push
2+
on:
3+
push:
4+
tags:
5+
- 'v[0-9]*'
36
jobs:
47
job:
58
runs-on: ubuntu-22.04
@@ -13,7 +16,6 @@ jobs:
1316
cache: 'gradle'
1417
- run: ./gradlew clean setupDecompWorkspace build --console plain --no-daemon --full-stacktrace
1518
- uses: softprops/action-gh-release@v1
16-
if: startsWith(github.ref, 'refs/tags/v')
1719
with:
1820
body: 'Release generated at commit: ${{ github.sha }}'
1921
files: 'build/libs/Catalyst-*-shadow.jar'

0 commit comments

Comments
 (0)