From 343056854b904cbf07c1a8f042dee96f6532d5f3 Mon Sep 17 00:00:00 2001 From: Diana Perez Afanador Date: Wed, 20 Dec 2023 15:57:41 +0100 Subject: [PATCH] Test Release --- .github/workflows/master-push.yml | 2 +- .github/workflows/publish-release.yml | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/master-push.yml b/.github/workflows/master-push.yml index 0e520b5fac..dcad2f2a2e 100644 --- a/.github/workflows/master-push.yml +++ b/.github/workflows/master-push.yml @@ -2,7 +2,7 @@ name: Prepare Release on: push: branches: - - "dp/test_final_release" + - "master" env: XCODE_VERSION: "['14.1', '14.2', '14.3.1', '15.0.1']" PLATFORM: "['ios', 'osx', 'watchos', 'tvos', 'catalyst']" diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 5fd874f556..07451027a7 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -1,5 +1,8 @@ name: Publish release -on: workflow_dispatch +on: + push: + branches: + - "dp/test_final_release" env: XCODE_VERSION: "['14.1', '14.2', '14.3.1', '15.0.1', '15.1']" jobs: @@ -49,7 +52,7 @@ jobs: uses: dawidd6/action-download-artifact@v3 with: workflow: master-push.yml - commit: ${{ github.sha }} + commit: ecf364a2da29aa459eedfe55cf5c5715a6c97ed2 name: realm-docs workflow_conclusion: completed - name: Unzip docs @@ -76,7 +79,7 @@ jobs: uses: dawidd6/action-download-artifact@v3 with: workflow: master-push.yml - commit: ${{ github.sha }} + commit: ecf364a2da29aa459eedfe55cf5c5715a6c97ed2 path: ${{ github.workspace }}/release_pkg workflow_conclusion: completed - name: Create Github release @@ -154,6 +157,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: ${{ matrix.xcode-version }} - name: Run installation test run: | echo "REALM_TEST_RELEASE=${{ needs.prepare.outputs.VERSION }}" >> $GITHUB_OUTPUT