This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
[0.1.0] MovementPathfinder works very very well now, various fixes, p… #42
Workflow file for this run
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 Project | |
on: | |
push: | |
workflow_dispatch: | |
pull_request: | |
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 | |
# TODO: build sources and javadocJar like in PB | |
#- name: Build sources jar | |
# run: ./gradlew sourcesJar | |
#- name: Build javadoc jar | |
# run: ./gradlew javadocJar | |
- name: Build jars | |
run: ./gradlew build | |
# TODO: this uploads the dev-shadow jar | |
- name: Upload fabric jar | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Phobot | |
path: ./fabric/build/libs/phobot-fabric*.jar | |
- name: Upload forge jar | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Phobot | |
path: ./forge/build/libs/phobot-forge*.jar |