about summary refs log tree commit diff
path: root/.github/workflows/build-submit-android.yml
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-05-28 16:38:24 -0700
committerGitHub <noreply@github.com>2024-05-28 16:38:24 -0700
commit5ceb440d4e46a69747316836626a6abcf7246ca1 (patch)
treed801c391e5fdb30f5d86589ccfb4721a7bda36e5 /.github/workflows/build-submit-android.yml
parentadbbded003206f8005b680203c45bc1810be6537 (diff)
downloadvoidsky-5ceb440d4e46a69747316836626a6abcf7246ca1.tar.zst
use custom github action for fingerprinting (#4226)
* use custom github action for fingerprinting

* update pr workflow

* update names of workflows

* make a native change (testing)

* adjust the action

* Revert "make a native change (testing)"

This reverts commit 8db98357330c24b4ac89b795dc73e3d84a29d9af.

* update bundle-deploy script

* test a prod build

* crazy depth

* manually set

* use prod default

* force prod

* revert test changes

* save cache after deploy

* revert testing
Diffstat (limited to '.github/workflows/build-submit-android.yml')
-rw-r--r--.github/workflows/build-submit-android.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/build-submit-android.yml b/.github/workflows/build-submit-android.yml
index e6ce20b86..b039512d6 100644
--- a/.github/workflows/build-submit-android.yml
+++ b/.github/workflows/build-submit-android.yml
@@ -119,3 +119,15 @@ jobs:
         env:
           SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CLIENT_ALERT_WEBHOOK }}
           SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
+
+      - name: ⬇️ Restore Cache
+        id: get-base-commit
+        uses: actions/cache@v4
+        if: ${{ inputs.profile == 'testflight' && github.ref == 'refs/heads/main' }}
+        with:
+          path: most-recent-testflight-commit.txt
+          key: most-recent-testflight-commit
+
+      - name: ✏️ Write commit hash to cache
+        if: ${{ inputs.profile == 'testflight' && github.ref == 'refs/heads/main' }}
+        run: echo ${{ github.sha }} > most-recent-testflight-commit.txt