Commit 8ba7c10 1 parent 035137a commit 8ba7c10 Copy full SHA for 8ba7c10
File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Gradle Package
2
2
on :
3
3
push :
4
- branches : [master]
4
+ tags :
5
+ - ' *'
5
6
workflow_dispatch : {}
6
7
jobs :
7
8
build :
8
9
runs-on : ubuntu-latest
9
10
permissions :
10
- contents : write
11
11
packages : write
12
12
13
13
steps :
26
26
- name : Build with Gradle
27
27
run : ./gradlew build
28
28
29
- # Bump the version and re-commit
30
- - name : Bump version
31
- id : bump
32
- uses : mickem/gh-action-bump-maven-version@v1.0.0
33
-
34
29
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
35
30
# the publishing section of your build.gradle
36
31
- name : Publish to GitHub Packages
37
- if : steps.bump.outputs.bumped == false
38
32
run : ./gradlew publish
39
33
env :
40
34
USERNAME : ${{ github.actor }}
You can’t perform that action at this time.
0 commit comments