From 7c7236d248b025f39b4dc1fb51daab67c0691c95 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 31 Jul 2022 15:31:52 +0100 Subject: [PATCH] GitHub Actions: Upload iOS release --- .github/workflows/iOS.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/iOS.yml b/.github/workflows/iOS.yml index b06f7ba20..94955c0e1 100644 --- a/.github/workflows/iOS.yml +++ b/.github/workflows/iOS.yml @@ -5,7 +5,9 @@ on: branches: - master pull_request: - types: [ opened, synchronize ] + types: [opened, synchronize] + release: + types: [published] jobs: build: @@ -51,3 +53,10 @@ jobs: with: name: devilutionx.ipa path: build/devilutionx.ipa + + - name: Update Release + if: ${{ github.event_name == 'release' && !env.ACT }} + uses: svenstaro/upload-release-action@v2 + with: + asset_name: build/devilutionx.ipa + overwrite: true