High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: token extraction for build mobile (#28320)
Alexfd18e55f7c9e
diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.ymlindex a5d1fd358e..efd501200d 100644--- a/.github/workflows/build-mobile.yml+++ b/.github/workflows/build-mobile.yml@@ -51,7 +51,6 @@ jobs:should_run: ${{ steps.check.outputs.should_run }}steps:- id: token- if: ${{ !github.event.pull_request.head.repo.fork }}uses: immich-app/devtools/actions/create-workflow-token@caa599d954228439ea3e8ce1c3328f41ab120ee6 # create-workflow-token-action-v2.0.0with:client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}@@ -61,7 +60,7 @@ jobs:id: checkuses: immich-app/devtools/actions/pre-job@91f342bb4477c4bc10c576ae739da875d85aa164 # pre-job-action-v2.0.4with:- github-token: ${{ steps.token.outputs.token || github.token }}+ github-token: ${{ steps.token.outputs.token }}filters: |mobile:- 'mobile/**'@@ -80,7 +79,6 @@ jobs:steps:- id: token- if: ${{ !github.event.pull_request.head.repo.fork }}uses: immich-app/devtools/actions/create-workflow-token@caa599d954228439ea3e8ce1c3328f41ab120ee6 # create-workflow-token-action-v2.0.0with:client-id: ${{ secrets.PUSH_O_MATIC_APP_CLIENT_ID }}@@ -88,9 +86,9 @@ jobs:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:- ref: ${{ inputs.ref || github.sha }}+ ref: ${{ inputs.ref }}persist-credentials: false- token: ${{ steps.token.outputs.token || github.token }}+ token: ${{ steps.token.outputs.token }}- name: Create the Keystoreif: ${{ !github.event.pull_request.head.repo.fork }}@@ -179,7 +177,7 @@ jobs:<img src="https://api.qrserver.com/v1/create-qr-code/?size=240x240&data=${{ env.APK_URL }}" alt="QR code" />- GitHub login required. Downloads as a zip containing a single `app-release.apk` — extract and install. Installs as a separate app (applicationId `app.alextran.immich.pr${{ github.event.pull_request.number }}`), so it coexists with the Play Store version and any other PR builds.+ Installs as a separate app (applicationId `app.alextran.immich.pr${{ github.event.pull_request.number }}`), so it coexists with the Play Store version and any other PR builds.- name: Save Gradle Cacheid: cache-gradle-save