Fix action #7

Merged
quentinlegot merged 15 commits from dev into master 2023-03-21 09:35:10 +01:00
Showing only changes of commit 85d616506d - Show all commits

View File

@ -19,16 +19,17 @@ jobs:
- name: validate gradle wrapper - name: validate gradle wrapper
uses: https://github.com/gradle/wrapper-validation-action@v1 uses: https://github.com/gradle/wrapper-validation-action@v1
- name: setup jdk 17 - name: setup jdk 17
uses: https://github.com/actions/setup-java@v3 uses: setup-java@v3
with: with:
java-version: 17 java-version: 17
distribution: 'oracle'
- name: make gradle wrapper executable - name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew run: chmod +x ./gradlew
- name: build - name: build
run: ./gradlew build run: ./gradlew build --no-daemon
- name: test - name: test
run: ./gradlew test run: ./gradlew test --no-daemon
deploy: deploy:
runs-on: ${{ ubuntu-22.04 }} runs-on: ${{ ubuntu-22.04 }}
if: gitea.ref == 'refs/heads/master' if: gitea.ref == 'refs/heads/master'