Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/resources/config.json
  • Loading branch information
aabssmc committed Aug 10, 2024
2 parents a30f295 + 9583586 commit 4b2ae90
Show file tree
Hide file tree
Showing 12 changed files with 972 additions and 133 deletions.
110 changes: 110 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
name: Publish
on:
release:
types:
- released
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v4.1.7"
- uses: "gradle/actions/wrapper-validation@v3.5.0"
- name: Set up JDK
uses: "actions/setup-java@v4.2.2"
with:
distribution: temurin
java-version: 21
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build jar with Gradle
run: ./gradlew chiseledBuild
- name: GitHub
uses: "Kir-Antipov/mc-publish@v3.3.0"
with:
github-changelog: ${{ github.event.release.body }}
fail-mode: warn
files: build/libs/*.jar
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Modrinth 1.21
uses: "Kir-Antipov/mc-publish@v3.3.0"
with:
game-version-filter: releases
changelog: ${{ github.event.release.html_url }}
fail-mode: warn
modrinth-id: ZcRRACSs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
loaders: fabric
dependencies: |
fabric-api
yacl
version: 1.21-${{ github.event.release.tag_name }}
game-versions: 1.21
files: versions/1.21/build/libs/*.jar
- name: Modrinth 1.20.6
uses: "Kir-Antipov/mc-publish@v3.3.0"
with:
game-version-filter: releases
changelog: ${{ github.event.release.html_url }}
fail-mode: warn
modrinth-id: ZcRRACSs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
loaders: fabric
dependencies: |
fabric-api
yacl
version: 1.20.6-${{ github.event.release.tag_name }}
game-versions: 1.20.6
files: versions/1.20.6/build/libs/*.jar
- name: Modrinth 1.20.4
uses: "Kir-Antipov/mc-publish@v3.3.0"
with:
game-version-filter: releases
changelog: ${{ github.event.release.html_url }}
fail-mode: warn
modrinth-id: ZcRRACSs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
loaders: fabric
dependencies: |
fabric-api
yacl
version: 1.20.4-${{ github.event.release.tag_name }}
game-versions: 1.20.4
files: versions/1.20.4/build/libs/*.jar
- name: Modrinth 1.20.2
uses: "Kir-Antipov/mc-publish@v3.3.0"
with:
game-version-filter: releases
changelog: ${{ github.event.release.html_url }}
fail-mode: warn
modrinth-id: ZcRRACSs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
loaders: fabric
dependencies: |
fabric-api
yacl
version: 1.20.2-${{ github.event.release.tag_name }}
game-versions: 1.20.2
files: versions/1.20.2/build/libs/*.jar
- name: Modrinth 1.20.1
uses: "Kir-Antipov/mc-publish@v3.3.0"
with:
game-version-filter: releases
changelog: ${{ github.event.release.html_url }}
fail-mode: warn
modrinth-id: ZcRRACSs
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
loaders: fabric
dependencies: |
fabric-api
yacl
version: 1.20.1-${{ github.event.release.tag_name }}
game-versions: 1.20.1
files: versions/1.20.1/build/libs/*.jar
Loading

0 comments on commit 4b2ae90

Please sign in to comment.