Publish action #27
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: Publish action | |
on: | |
create: | |
tag: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v2 | |
- name: validate gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: setup jdk 21 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: "21" | |
- name: make gradle wrapper executable | |
if: ${{ runner.os != 'Windows' }} | |
run: chmod +x ./gradlew | |
- name: build | |
run: ./gradlew build | |
- name: Publish Minecraft Mods Fabric | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 284324 | |
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | |
modrinth-id: 72GXx2MO | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
files: | | |
Fabric/build/libs/!(*-@(javadoc|sources)).jar | |
Fabric/build/libs/*-@(javadoc|sources).jar | |
version-type: beta | |
loaders: | | |
fabric | |
quilt | |
game-versions: 1.21 | |
java: 21 | |
name: "" | |
changelog: "https://github.com/InnovativeOnlineIndustries/Emojiful/commits/1.21" | |
- name: Publish Minecraft Mods NeoForge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 284324 | |
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | |
modrinth-id: 72GXx2MO | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
files: | | |
NeoForge/build/libs/*-all.jar | |
NeoForge/build/libs/!(*-@(all)).jar | |
version-type: beta | |
loaders: neoforge | |
game-versions: 1.21 | |
java: 21 | |
name: "" | |
changelog: "https://github.com/InnovativeOnlineIndustries/Emojiful/commits/1.21" |