mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 23:58:02 -05:00
fde2bb23c4
It validates the checksums of Gradle Wrapper JAR files present in the source tree and fails if unknown Gradle Wrapper JAR files are found. https://github.com/gradle/wrapper-validation-action
28 lines
814 B
YAML
28 lines
814 B
YAML
name: Build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
java-version: [1.8, 11, 14]
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: gradle/wrapper-validation-action@v1
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: ${{ matrix.java-version }}
|
|
- uses: eskatos/gradle-command-action@v1.3.2
|
|
with:
|
|
gradle-version: wrapper
|
|
arguments: check build publishToMavenLocal --stacktrace
|
|
dependencies-cache-enabled: false
|
|
configuration-cache-enabled: false
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Artifacts
|
|
path: build/libs/
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Artifacts
|
|
path: ./*/build/libs/
|