4.5.0 #30
@ -7,7 +7,7 @@ name: Test and Deploy
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master, dev ]
|
branches: [ master, dev ]
|
||||||
pull_request_target:
|
pull_request:
|
||||||
branches: [ master, dev ]
|
branches: [ master, dev ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
java: [ '17' ]
|
java: [ '17' ]
|
||||||
os: [ ubuntu-latest ]
|
os: [ ubuntu-latest ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: gitea.ref == 'refs/heads/master'
|
if: ${{ gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' }}
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: checkout repository
|
||||||
@ -67,6 +67,8 @@ jobs:
|
|||||||
run: ./gradlew publish
|
run: ./gradlew publish
|
||||||
- name: create tag
|
- name: create tag
|
||||||
run: ./gradlew createTag
|
run: ./gradlew createTag
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
- name: Report to Discord
|
- name: Report to Discord
|
||||||
run: ./gradlew reportToDiscord
|
run: ./gradlew reportToDiscord
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user