Keep each deployment job in a separate concurrency group (#3446)

zio/stable
Hailey 2024-04-08 08:54:50 -07:00 committed by GitHub
parent 00076ad1ff
commit a1ac84687f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 4 deletions

View File

@ -18,14 +18,13 @@ on:
description: Runtime version (in x.x.x format) that this update is for description: Runtime version (in x.x.x format) that this update is for
required: true required: true
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
bundleDeploy: bundleDeploy:
name: Bundle and Deploy EAS Update name: Bundle and Deploy EAS Update
runs-on: ubuntu-latest runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-deploy
cancel-in-progress: true
outputs: outputs:
fingerprint-is-different: ${{ steps.fingerprint-debug.outputs.fingerprint-is-different }} fingerprint-is-different: ${{ steps.fingerprint-debug.outputs.fingerprint-is-different }}
@ -166,6 +165,9 @@ jobs:
buildIfNecessaryIOS: buildIfNecessaryIOS:
name: Build and Submit iOS name: Build and Submit iOS
runs-on: macos-14 runs-on: macos-14
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-build-ios
cancel-in-progress: false
needs: [bundleDeploy] needs: [bundleDeploy]
# Gotta check if its NOT '[]' because any md5 hash in the outputs is detected as a possible secret and won't be # Gotta check if its NOT '[]' because any md5 hash in the outputs is detected as a possible secret and won't be
# available here # available here
@ -231,6 +233,9 @@ jobs:
buildIfNecessaryAndroid: buildIfNecessaryAndroid:
name: Build and Submit Android name: Build and Submit Android
runs-on: ubuntu-latest runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-build-android
cancel-in-progress: false
needs: [ bundleDeploy ] needs: [ bundleDeploy ]
# Gotta check if its NOT '[]' because any md5 hash in the outputs is detected as a possible secret and won't be # Gotta check if its NOT '[]' because any md5 hash in the outputs is detected as a possible secret and won't be
# available here # available here