Mirror von
https://github.com/Chaoscaot/NoClipEnhancer.git
synchronisiert 2024-11-19 10:20:07 +01:00
36 Zeilen
719 B
YAML
36 Zeilen
719 B
YAML
|
name: Auto-Build
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ "master" ]
|
||
|
pull_request:
|
||
|
branches: [ "master" ]
|
||
|
|
||
|
permissions:
|
||
|
contents: read
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- name: Set up JDK 17
|
||
|
uses: actions/setup-java@v3
|
||
|
with:
|
||
|
java-version: '17'
|
||
|
distribution: 'temurin'
|
||
|
- name: Grant execute permission for gradlew
|
||
|
run: chmod +x gradlew
|
||
|
|
||
|
- name: Build with Gradle
|
||
|
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||
|
with:
|
||
|
arguments: build
|
||
|
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: NoClipEnhancer
|
||
|
path: build/libs/*.jar
|