Merge branch 'oraxen:master' into dev/update #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Upload | |
on: | |
push: | |
branches: [ "dev/update" ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
check-latest: true | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Run chmod to make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Run Gradle Build for Core | |
run: ./gradlew core:build | |
- name: Run Gradle Build for Plugin | |
run: ./gradlew build | |
- name: Upload Plugin | |
uses: actions/[email protected] | |
with: | |
name: ArmaOraxen | |
path: build/libs/*.jar |