We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ecdf9 commit a19516eCopy full SHA for a19516e
.github/workflows/publish.yml
@@ -6,6 +6,9 @@ on:
6
- master
7
tags:
8
- 'v*'
9
+ release:
10
+ types:
11
+ - created
12
13
14
permissions:
@@ -42,14 +45,15 @@ jobs:
42
45
fi
43
46
44
47
- name: Build mod artifact
48
+ if: github.event_name == 'release' && github.event.action == 'created'
49
run: |
50
chmod +x gradlew
51
./gradlew clean
52
./gradlew dex
53
54
- name: Upload built mod artifact as a GitHub Action artifact
55
uses: actions/upload-artifact@v4
- if: github.event_name == 'push' || github.event_name == 'pull_request'
56
57
with:
58
name: CustomJsonLib (zipped)
59
path: build/libs/CustomJsonLibCrossPlatform.jar
0 commit comments