Merge remote-tracking branch 'origin/master'

This commit is contained in:
FlorianMichael 2023-05-29 13:09:44 +02:00
commit a4846e4b70

View File

@ -5,28 +5,26 @@ jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [
8
]
os: [ubuntu-latest]
java: ["8"]
os: ["ubuntu-22.04"]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
- name: Checkout the repository
uses: actions/checkout@v3
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
- name: make gradle wrapper executable
distribution: 'temurin'
- name: Make Gradle wrapper runnable on Unix
run: chmod +x ./gradlew
- name: build
- name: Build
run: ./gradlew build
- name: capture build artifacts
- name: Upload Build Artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '8' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ViaForge-1.12.2
path: build/libs/