Build #28
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 ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1000 | ||
fetch-tags: true | ||
- name: Setup JDK 21 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
- name: Build with Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
arguments: build | ||
gradle-version: current | ||
- name: mc-publish | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
modrinth-id: H1sntfo8 | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
curseforge-id: 360203 | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
files-primary: build/libs/!(*-@(javadoc|sources)).jar | ||
version-type: release | ||
loaders: neoforge | ||
game-versions: 1.21 | ||
java: 21 | ||
name: "" | ||
changelog-file: changelog-1.21.* | ||
retry-attempts: 2 | ||
Check failure on line 40 in .github/workflows/build.yml GitHub Actions / BuildInvalid workflow file
|
||
retry-delay: 10000 | ||
fail-mode: fail |