Merge remote-tracking branch 'origin/main' #135
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
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 |