New translations en_us.json (Czech) #1004
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: Java CI with Gradle | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
MODRINTH_TOKEN: ${{ secrets.MR_API_TOKEN }} | |
CURSEFORGE_TOKEN: ${{ secrets.CF_API_TOKEN }} | |
if: startsWith(github.ref, 'refs/tags/') | |
steps: | |
- name: Checkout Commit | |
uses: actions/checkout@v2 | |
- name: Fetch Tags | |
run: git fetch --unshallow --tags | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle - Forge | |
run: ./gradlew :forge:build | |
- name: Build with Gradle - Fabric | |
run: ./gradlew :fabric:build | |
- name: Upload Artifacts - Forge | |
uses: actions/upload-artifact@v2 | |
with: | |
name: forge_artifacts | |
path: ./forge/build/libs/ | |
- name: Upload Artifacts - Fabric | |
uses: actions/upload-artifact@v2 | |
with: | |
name: fabric_artifacts | |
path: ./fabric/build/libs/ | |
- name: Get tag | |
if: ${{ success() && startsWith(github.ref, 'refs/tags/') }} | |
id: tag | |
uses: dawidd6/action-get-tag@v1 | |
- uses: jungwinter/split@v2 | |
id: split | |
with: | |
separator: "+" | |
msg: ${{steps.tag.outputs.tag}} | |
- name: "Rename Fabric files" | |
run: mv "fabric/build/libs/immersive_paintings-${{steps.tag.outputs.tag}}.jar" "fabric/build/libs/immersive_paintings-${{steps.tag.outputs.tag}}-fabric.jar" | |
- name: "Rename Forge files" | |
run: mv "forge/build/libs/immersive_paintings-${{steps.tag.outputs.tag}}.jar" "forge/build/libs/immersive_paintings-${{steps.tag.outputs.tag}}-forge.jar" | |
- name: "Upload Fabric" | |
uses: Kir-Antipov/mc-publish@v3.1 | |
if: ${{ success() && startsWith(github.ref, 'refs/tags/') }} | |
with: | |
modrinth-id: 6txNkua3 | |
modrinth-token: ${{ env.MODRINTH_TOKEN }} | |
curseforge-id: 639584 | |
curseforge-token: ${{ env.CURSEFORGE_TOKEN }} | |
name: "[Fabric ${{steps.split.outputs._1}}] Immersive Paintings - ${{steps.split.outputs._0}}" | |
changelog-file: changelog.md | |
version-type: release | |
files: "fabric/build/libs/immersive_paintings-${{steps.tag.outputs.tag}}-fabric.jar" | |
loaders: | | |
fabric | |
game-versions: | | |
${{steps.split.outputs._1}} | |
java: | | |
Java 17 | |
dependencies: | | |
fabric-api | recommends | * | |
fail-mode: skip | |
- name: "Upload Forge" | |
uses: Kir-Antipov/mc-publish@v3.1 | |
if: ${{ success() && startsWith(github.ref, 'refs/tags/') }} | |
with: | |
modrinth-id: 6txNkua3 | |
modrinth-token: ${{ env.MODRINTH_TOKEN }} | |
curseforge-id: 639584 | |
curseforge-token: ${{ env.CURSEFORGE_TOKEN }} | |
name: "[Forge ${{steps.split.outputs._1}}] Immersive Paintings - ${{steps.split.outputs._0}}" | |
changelog-file: changelog.md | |
version-type: release | |
files: "forge/build/libs/immersive_paintings-${{steps.tag.outputs.tag}}-forge.jar" | |
loaders: | | |
forge | |
game-versions: | | |
${{steps.split.outputs._1}} | |
java: | | |
Java 17 | |
fail-mode: skip |