Skip to content

Updated translations #152

Updated translations

Updated translations #152

Workflow file for this run

name: Create Artifact
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: setup jdk
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: gradle
- name: gradle setup
uses: gradle/actions/setup-gradle@v3
- name: gradle build
run: ./gradlew build --no-daemon
- name: set params
run: |
cat $GITHUB_WORKSPACE/gradle.properties | grep ^archives_base_name= >> $GITHUB_ENV
cat $GITHUB_WORKSPACE/gradle.properties | grep ^minecraft_version= >> $GITHUB_ENV
cat $GITHUB_WORKSPACE/gradle.properties | grep ^mod_version= >> $GITHUB_ENV
- name: set package name
run: echo "pkg_file=$archives_base_name-$mod_version.jar" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: Cobbledex-${{env.mod_version}}-${{env.minecraft_version}}_r${{github.run_number}}
path: |
forge/build/libs/*.jar
fabric/build/libs/*.jar
!**/*-dev.jar
!**/*-shadow.jar
!**/*-transformProduction*.jar