diff options
author | Hailey <me@haileyok.com> | 2024-05-06 20:13:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 20:13:12 -0700 |
commit | 790a9c4fadc631f8c70285c144f5c6fea28ebd26 (patch) | |
tree | ff91b9ba942b3f76dc67ce84d335b5bf8e236b94 /.github/workflows | |
parent | 92f6665f93842e00008babd74df51a0973252f64 (diff) | |
download | voidsky-790a9c4fadc631f8c70285c144f5c6fea28ebd26.tar.zst |
fix bad bool check in action (#3885)
* fix bad bool check in action * add `fetch-depth` so we can get the commit hash * `.env` should be in `.easignore` 🙃
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-submit-android.yml | 2 | ||||
-rw-r--r-- | .github/workflows/build-submit-ios.yml | 2 | ||||
-rw-r--r-- | .github/workflows/bundle-deploy-eas-update.yml | 8 |
3 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/build-submit-android.yml b/.github/workflows/build-submit-android.yml index 1a52694ac..e6ce20b86 100644 --- a/.github/workflows/build-submit-android.yml +++ b/.github/workflows/build-submit-android.yml @@ -25,6 +25,8 @@ jobs: - name: ⬇️ Checkout uses: actions/checkout@v4 + with: + fetch-depth: 5 - name: 🔧 Setup Node uses: actions/setup-node@v4 diff --git a/.github/workflows/build-submit-ios.yml b/.github/workflows/build-submit-ios.yml index 2350e46ad..bfd067095 100644 --- a/.github/workflows/build-submit-ios.yml +++ b/.github/workflows/build-submit-ios.yml @@ -25,6 +25,8 @@ jobs: - name: ⬇️ Checkout uses: actions/checkout@v4 + with: + fetch-depth: 5 - name: 🔧 Setup Node uses: actions/setup-node@v4 diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml index 0f3a63213..a4bbaa8d0 100644 --- a/.github/workflows/bundle-deploy-eas-update.yml +++ b/.github/workflows/bundle-deploy-eas-update.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-deploy - cancel-in-progress: true + cancel-in-progress: false outputs: fingerprint-is-different: ${{ steps.fingerprint-debug.outputs.fingerprint-is-different }} @@ -68,7 +68,7 @@ jobs: - name: 🕵️ Get the base commit id: base-commit run: | - if [ -z "${{ inputs.channel == 'production' }}" ]; then + if [ ${{ inputs.channel == 'production' }} ]; then echo base-commit=$(git show-ref -s ${{ inputs.runtimeVersion }}) >> "$GITHUB_OUTPUT" else echo base-commit=${{ steps.last-successful-commit.base-commit }} >> "$GITHUB_OUTPUT" @@ -184,6 +184,8 @@ jobs: - name: ⬇️ Checkout uses: actions/checkout@v4 + with: + fetch-depth: 5 - name: 🔧 Setup Node uses: actions/setup-node@v4 @@ -255,6 +257,8 @@ jobs: - name: ⬇️ Checkout uses: actions/checkout@v4 + with: + fetch-depth: 5 - name: 🔧 Setup Node uses: actions/setup-node@v4 |