From 1d782229a26ef53797f541ada9438c3ffda4a2e1 Mon Sep 17 00:00:00 2001 From: Gleb Date: Fri, 6 Oct 2023 12:53:21 +0100 Subject: [PATCH] publish apk to itch.io --- .github/workflows/build-master.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index 02e2ffb..81a7bca 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -150,3 +150,12 @@ jobs: name: v${{ needs.set_version.outputs.BUILD_VERSION }} tag_name: v${{ needs.set_version.outputs.BUILD_VERSION }} token: ${{ secrets.GITHUB_TOKEN }} + + - name: Release to itch.io + env: + BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} + if: ${{ env.BUTLER_API_KEY != '' }} + run: | + dotnet tool run ezpipeline -- fetch-tool --name Butler -o tools/itch + tools/itch/butler push ./RbfxTemplate.Android/bin/Release/net7.0-android/publish/com.companyname.RbfxTemplate.android-Signed.apk rebelfork/rbfx-csharp-thirdperson:android + shell: bash \ No newline at end of file