From 00f44fd1c1c21f015e39370721bcd10a152dd8ed Mon Sep 17 00:00:00 2001 From: TymanWasTaken Date: Mon, 10 May 2021 19:05:50 -0600 Subject: Make upload on dispatch --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0dd0e7e2..ac56c73b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,3 +25,8 @@ jobs: run: mkdir mods && wget https://cdn.discordapp.com/attachments/782825804983566356/791708191519932426/Hychat-1.12.1-BETA.jar -O mods/Hychat-1.12.1-BETA.jar - name: Build with Gradle run: ./gradlew build + - uses: actions/upload-artifact@v2 + if: ${{ env.GITHUB_EVENT_NAME == "workflow_dispatch" }} + with: + name: Compiled-files + path: build/libs/*.jar -- cgit