Update some libraries and Gradle #628
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- dev3 | |
pull_request: | |
branches: | |
- dev3 | |
permissions: | |
checks: write | |
pull-requests: write | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
# Alternative for testing on multiple platforms. Ubuntu runs the quickest with the latest JVM. | |
# os: [ubuntu-latest, windows-latest, macos-latest] | |
# java-version: [11, 17] | |
os: [ ubuntu-latest ] | |
java-version: [ 17 ] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
distribution: adopt-hotspot | |
java-version: ${{ matrix.java-version }} | |
- run: ./gradlew --info build | |
- name: Upload Test Results | |
uses: actions/[email protected] | |
if: always() | |
with: | |
name: Event File | |
retention-days: 21 | |
path: | | |
**/TEST-* | |
**/hs_err_pid* | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# taken from: https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#support-fork-repositories-and-dependabot-branches | |
event_file: | |
name: "Event File" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Event File | |
path: ${{ github.event_path }} |