4.5.0 #30

Merged
quentinlegot merged 4 commits from dev into master 2024-01-08 22:02:01 +01:00
Showing only changes of commit fede46e91e - Show all commits

View File

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