Skip to content

Merge remote-tracking branch 'origin/main' #135

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #135

Workflow file for this run

on: [push, workflow_dispatch]
name: Building
jobs:
building:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add build tools to the $PATH
run: echo "${ANDROID_HOME}/build-tools/33.0.2" >> $GITHUB_PATH
# The minchat-cli:shadowJar task is not run as minchat-cli is deprecated
- name: Compile the mod
run: |
chmod +x ./gradlew
./gradlew minchat-backend:jar minchat-client:release
- name: Upload the client artifact
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-client-mod
path: minchat-client/build/libs/*.jar
- name: Upload the server artifact
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-backend-server
path: minchat-backend/build/libs/*.jar
# - name: Upload the cli client artifact
# uses: actions/upload-artifact@v2
# with:
# name: ${{ github.event.repository.name }}-cli-client
# path: minchat-cli/build/libs/*.jar