From f9684b846bc1e84061c9ccdb5d858d41a596e7ff Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Tue, 19 Jan 2021 22:51:52 +0200 Subject: [PATCH] maybe upload --- .github/workflows/test.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 56a3cf31b1..b633769ee3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,8 +65,19 @@ jobs: echo ./butler push deploy/Unciv-Linux64.zip yairm210/unciv:Linux64 --userversion ${{steps.tag.outputs.tag}}; ./gradlew desktop:zipLinuxFilesForJar; - + + - name: Upload binaries to release + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: deploy/* + tag: ${{ github.ref }} + overwrite: true + file_glob: true + - name: Upload release binaries + if: cancelled() && github.event_name == 'push' && contains(github.ref, 'refs/tags/') uses: alexellis/upload-assets@0.2.2 env: GITHUB_TOKEN: ${{ github.token }}