Skip to content

Commit

Permalink
test asset upload
Browse files Browse the repository at this point in the history
  • Loading branch information
matejglejtek committed Jun 22, 2024
1 parent 2f04c7c commit 46c5b58
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions .github/workflows/delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
branches:
- production
- master
pull_request:


jobs:
integration:
Expand Down Expand Up @@ -91,13 +93,6 @@ jobs:
name: ios-app-bundle
path: build/ios/ipa/*.ipa
if-no-files-found: error
- name: Publish signed bundle to AppStore
if: ${{ !contains(github.event.head_commit.message, '[skip publish]') && !contains(github.event.head_commit.message, '[skip ios publish]') }}
env:
APP_STORE_CONNECT_KEY_IDENTIFIER: ${{ secrets.APP_STORE_CONNECT_KEY_IDENTIFIER }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
APP_STORE_CONNECT_PRIVATE_KEY: ${{ secrets.APP_STORE_CONNECT_PRIVATE_KEY }}
run: app-store-connect publish

build-publish-android:
name: Build & publish Android bundle
Expand Down Expand Up @@ -144,17 +139,6 @@ jobs:
build/app/outputs/bundle/*/*.aab
build/app/outputs/mapping/release/mapping.txt
if-no-files-found: error
- name: Publish signed bundle to Google Play
uses: r0adkll/upload-google-play@7406d2c7a1db943b737d959bdefdd7f6d9731f99
if: ${{ !contains(github.event.head_commit.message, '[skip publish]') && !contains(github.event.head_commit.message, '[skip android publish]') }}
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_API_KEY_JSON }}
packageName: ${{ env.ANDROID_BUNDLE_NAME }}
releaseFiles: build/app/outputs/bundle/*/*.aab
track: ${{ env.ANDROID_TARGET_TRACK }}
mappingFile: build/app/outputs/mapping/release/mapping.txt
status: draft
# debugSymbols: build/app/intermediates/merged_native_libs/release/out/lib

finish-deployment:
name: Finish GitHub deployment
Expand Down Expand Up @@ -214,17 +198,3 @@ jobs:
run: |
gh release upload v${{ env.RELEASED_VERSION }} "${{ env.ANDROID_BUNDLE_PATH }}"
gh release upload v${{ env.RELEASED_VERSION }} "${{ env.IOS_APP_PATH }}"
announce:
name: Announce to Slack
uses: dronetag/gha-shared/.github/workflows/slack-announcement.yml@master
needs:
- build-publish-ios
- build-publish-android
with:
product-name: ":iphone: Drone Scanner"
environment: production
availability-text: Builds are available on App Store Connect and Google Play Console
secrets:
channel-id: ${{ secrets.SLACK_DEPLOYMENTS_CHANNEL_ID }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 46c5b58

Please sign in to comment.