File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
src/main/resources/assets/DynamicHUD Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 1- # Automatically build the project and run any configured tests for every push
2- # and submitted pull request. This can help catch issues that only occur on
3- # certain platforms or Java versions, and provides a first line of defence
4- # against bad commits.
5-
61name : build
7- on : [pull_request,push]
2+ on : [pull_request, push]
83permissions :
94 contents : write
105
116jobs :
127 build :
138 strategy :
149 matrix :
15- java : [
16- 21,
17- ]
10+ java : [21]
1811 os : [ubuntu-22.04]
1912 runs-on : ${{ matrix.os }}
2013 steps :
@@ -48,13 +41,13 @@ jobs:
4841 path : build/libs/
4942
5043 - name : pre-release action
51- uses : softprops/action-gh-release@v2
44+ if : github.event_name == 'push'
45+ 5246 with :
5347 tag_name : " latest"
5448 name : " DynamicHUD Pre-release"
5549 prerelease : true
56- body :
57- " Pre-release generated from github actions on push commit. Maybe unstable to use."
50+ body : " Pre-release generated from github actions on push commit. Maybe unstable to use."
5851 fail_on_unmatched_files : true
5952 generate_release_notes : true
6053 files : |
You can’t perform that action at this time.
0 commit comments