Skip to content

Set up actions

Set up actions #1

Workflow file for this run

name: CI
on: [push]
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: 'adopt'
cache: gradle
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Init gradle wrapper
run: ./gradlew wrapper --gradle-version=7.3.3
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Build with Gradle wrapper
run: ./gradlew build
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: AutoGG+
path: /home/runner/work/AutoGGPlus/AutoGGPlus/versions/1.8.9/build/libs