diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index f966ab6b..ed8f4791 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -1,7 +1,9 @@ name: Public Beta on: - workflow_dispatch: + push: + branches: + - 'master' env: APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }} @@ -20,8 +22,16 @@ env: CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }} jobs: + check_beta: + if: contains(github.event.head_commit.message, 'Attempt beta release') + runs-on: ubuntu-latest + steps: + - name: Check beta commit + run: | + echo build_upload_ios: runs-on: macos-11 + needs: check_beta timeout-minutes: 60 steps: - uses: actions/checkout@v2 @@ -39,6 +49,7 @@ jobs: bundle exec fastlane --env ios,beta store_beta build_upload_mac: runs-on: macos-11 + needs: check_beta timeout-minutes: 60 steps: - uses: actions/checkout@v2 diff --git a/PassepartoutCore/Sources/PassepartoutCore/API b/PassepartoutCore/Sources/PassepartoutCore/API index a3588654..62305b8d 160000 --- a/PassepartoutCore/Sources/PassepartoutCore/API +++ b/PassepartoutCore/Sources/PassepartoutCore/API @@ -1 +1 @@ -Subproject commit a35886548dd3068e4173d51dd448288b45ad3eff +Subproject commit 62305b8d915585bb8f7199c7a808eb7b57793339