Skip to content

Update action script #67

Update action script

Update action script #67

name: Build caramelChat
on:
push:
branches: [ dev/1.20.4 ]
pull_request:
branches: [ dev/1.20.4 ]
jobs:
build:
runs-on: ubuntu-latest
if: github.ref_type != 'tag'
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Setup git config
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Action"
- name: Build with Gradle
run: |
./gradlew build --stacktrace
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: caramelChat-artifacts
path: |
fabric/build/libs/**.jar
forge/build/libs/**.jar
neoforge/build/libs/**.jar