From ac5ae22490f5fcce16d965cfdb742c30616ab0fa Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Tue, 26 Jul 2022 07:59:46 +0100 Subject: [PATCH] PS4: Release build GitHub Action --- .github/workflows/PS4.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PS4.yml b/.github/workflows/PS4.yml index 48d71b933..a7b0d81ff 100644 --- a/.github/workflows/PS4.yml +++ b/.github/workflows/PS4.yml @@ -5,7 +5,9 @@ on: branches: - master pull_request: - types: [ opened, synchronize ] + types: [opened, synchronize] + release: + types: [published] jobs: ps4: @@ -34,6 +36,13 @@ jobs: if: ${{ !env.ACT }} uses: actions/upload-artifact@v2 with: - name: devilutionx.pkg + name: devilutionx-ps4.pkg path: build-ps4/devilutionx.pkg + - name: Update Release + if: ${{ github.event_name == 'release' && !env.ACT }} + uses: svenstaro/upload-release-action@v2 + with: + asset_name: devilutionx-ps4.pkg + file: build-ps4/devilutionx.pkg + overwrite: true