Skip to content

auto-build

auto-build #9

Workflow file for this run

name: auto-build
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Config Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Apply Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: $${{ runner.os }}-gradle
- name: Build
id: build
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
MODRINTH_PROJECT_ID: ${{ secrets.MODRINTH_PROJECT_ID }}
run: ./gradlew --max-workers=1 build modrinth
continue-on-error: true