mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-28 13:05:15 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a4846e4b70
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user