Skip to content

Update github actions #80

Update github actions

Update github actions #80

Workflow file for this run

name: Run Gradle on Push
on: [push]
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
# runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Publish with Gradle
run: ./gradlew clean build test --scan
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}
- name: Upload build reports
uses: actions/upload-artifact@v4
if: always() # always run even if the previous step fails
with:
name: build-reports
path: build/reports/
- name: Upload Test XML Files
uses: actions/upload-artifact@v4
if: always() # always run even if the previous step fails
with:
name: test-xmls
path: /tmp/*.xml