Fix HypixelBhop #162
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: build | |
on: | |
- push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Start Build | |
run: echo "##########Made by UnlegitMC!!!##########" | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Java setup | |
uses: actions/setup-java@v2 | |
with: | |
distribution: "zulu" | |
java-version: 8 | |
cache: "gradle" | |
- name: Set outputs | |
id: vars | |
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | |
- name: Made by UnlegitMC | |
run: echo "##########Made by UnlegitMC!!!##########" | |
- name: Build | |
run: chmod +x ./gradlew && ./gradlew setupCiWorkspace && ./gradlew build | |
- name: Rename build artifacts | |
run: mv build/libs/FDPClient-*.jar build/libs/FDPCNClient-${{ steps.vars.outputs.sha_short }}.jar | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: FDPCNClient | |
path: build/libs/FDPCNClient-${{ steps.vars.outputs.sha_short }}.jar |