ci: bring ios & android canary tests back
This commit is contained in:
parent
862a50c982
commit
8d77c480e0
9
.github/workflows/release-desktop.yml
vendored
9
.github/workflows/release-desktop.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
- name: Upload web artifact
|
- name: Upload web artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: web
|
name: desktop-web
|
||||||
path: packages/frontend/apps/electron/resources/web-static
|
path: packages/frontend/apps/electron/resources/web-static
|
||||||
|
|
||||||
make-distribution:
|
make-distribution:
|
||||||
@ -110,7 +110,7 @@ jobs:
|
|||||||
package: '@affine/native'
|
package: '@affine/native'
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: web
|
name: desktop-web
|
||||||
path: packages/frontend/apps/electron/resources/web-static
|
path: packages/frontend/apps/electron/resources/web-static
|
||||||
|
|
||||||
- name: Build Desktop Layers
|
- name: Build Desktop Layers
|
||||||
@ -234,7 +234,7 @@ jobs:
|
|||||||
package: '@affine/native'
|
package: '@affine/native'
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: web
|
name: desktop-web
|
||||||
path: packages/frontend/apps/electron/resources/web-static
|
path: packages/frontend/apps/electron/resources/web-static
|
||||||
|
|
||||||
- name: Build Desktop Layers
|
- name: Build Desktop Layers
|
||||||
@ -417,7 +417,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: web
|
name: desktop-web
|
||||||
path: web-static
|
path: web-static
|
||||||
- name: Zip web-static
|
- name: Zip web-static
|
||||||
run: zip -r web-static.zip web-static
|
run: zip -r web-static.zip web-static
|
||||||
@ -465,6 +465,7 @@ jobs:
|
|||||||
name: ${{ env.RELEASE_VERSION }}
|
name: ${{ env.RELEASE_VERSION }}
|
||||||
draft: ${{ inputs.build-type == 'stable' }}
|
draft: ${{ inputs.build-type == 'stable' }}
|
||||||
prerelease: ${{ inputs.build-type != 'stable' }}
|
prerelease: ${{ inputs.build-type != 'stable' }}
|
||||||
|
tag_name: ${{ env.RELEASE_VERSION}}
|
||||||
files: |
|
files: |
|
||||||
./release/*
|
./release/*
|
||||||
./release/.env.example
|
./release/.env.example
|
||||||
|
5
.github/workflows/release-mobile.yml
vendored
5
.github/workflows/release-mobile.yml
vendored
@ -117,7 +117,7 @@ jobs:
|
|||||||
package: 'affine_mobile_native'
|
package: 'affine_mobile_native'
|
||||||
no-build: 'true'
|
no-build: 'true'
|
||||||
- name: Testflight
|
- name: Testflight
|
||||||
if: ${{ env.BUILD_TYPE == 'beta' }}
|
if: ${{ env.BUILD_TYPE != 'stable' }}
|
||||||
working-directory: packages/frontend/apps/ios/App
|
working-directory: packages/frontend/apps/ios/App
|
||||||
run: |
|
run: |
|
||||||
echo -n "${{ env.BUILD_PROVISION_PROFILE }}" | base64 --decode -o $PP_PATH
|
echo -n "${{ env.BUILD_PROVISION_PROFILE }}" | base64 --decode -o $PP_PATH
|
||||||
@ -175,7 +175,6 @@ jobs:
|
|||||||
- name: Auth gcloud
|
- name: Auth gcloud
|
||||||
id: auth
|
id: auth
|
||||||
uses: google-github-actions/auth@v2
|
uses: google-github-actions/auth@v2
|
||||||
if: ${{ env.BUILD_TYPE != 'canary' }}
|
|
||||||
with:
|
with:
|
||||||
workload_identity_provider: 'projects/${{ secrets.GCP_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/github-actions/providers/github-actions-helm-deploy'
|
workload_identity_provider: 'projects/${{ secrets.GCP_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/github-actions/providers/github-actions-helm-deploy'
|
||||||
service_account: '${{ secrets.GCP_HELM_DEPLOY_SERVICE_ACCOUNT }}'
|
service_account: '${{ secrets.GCP_HELM_DEPLOY_SERVICE_ACCOUNT }}'
|
||||||
@ -189,7 +188,6 @@ jobs:
|
|||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
- name: Auto increment version code
|
- name: Auto increment version code
|
||||||
id: bump
|
id: bump
|
||||||
if: ${{ env.BUILD_TYPE != 'canary' }}
|
|
||||||
run: yarn affine @affine/playstore-auto-bump bump
|
run: yarn affine @affine/playstore-auto-bump bump
|
||||||
env:
|
env:
|
||||||
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.auth.outputs.credentials_file_path }}
|
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.auth.outputs.credentials_file_path }}
|
||||||
@ -204,7 +202,6 @@ jobs:
|
|||||||
VERSION_NAME: ${{ inputs.app-version }}
|
VERSION_NAME: ${{ inputs.app-version }}
|
||||||
- name: Upload to Google Play
|
- name: Upload to Google Play
|
||||||
uses: r0adkll/upload-google-play@v1
|
uses: r0adkll/upload-google-play@v1
|
||||||
if: ${{ env.BUILD_TYPE != 'canary' }}
|
|
||||||
with:
|
with:
|
||||||
serviceAccountJson: ${{ steps.auth.outputs.credentials_file_path }}
|
serviceAccountJson: ${{ steps.auth.outputs.credentials_file_path }}
|
||||||
packageName: app.affine.pro
|
packageName: app.affine.pro
|
||||||
|
Loading…
x
Reference in New Issue
Block a user