maybe upload

This commit is contained in:
Yair Morgenstern 2021-01-19 22:51:52 +02:00 committed by GitHub
parent d47f67f245
commit f9684b846b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}