Skip to content

update .github/workflows/GradleBuild.yml #3

update .github/workflows/GradleBuild.yml

update .github/workflows/GradleBuild.yml #3

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Upload Releases
on:
push:
branches: [ "release" ]
pull_request:
branches: [ "release" ]
workflow_dispatch:
permissions:
contents: read
jobs:
buildFolia:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build CoreToFolia
run: ./gradlew buildPaper
- name: Temp upload
uses: actions/upload-artifact@v3
with:
name: "Temp-Folia"
path: "standalone/ShipsFolia.jar"