feat: dev capes mixin #472
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 | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: temurin | |
cache: gradle | |
- name: Make Gradle wrapper executable | |
run: chmod +x ./gradlew | |
- name: Build & Publish to Maven | |
env: | |
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }} | |
run: ./gradlew build :fabric:publish :forge:publish | |
- name: Collect built jars | |
run: ./gradlew moveBuiltJars | |
- name: Capture build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Artifacts | |
path: jars |