Skip to content

Commit

Permalink
adding separate deploy stage
Browse files Browse the repository at this point in the history
  • Loading branch information
arnk-basyskom committed Jan 24, 2024
1 parent aa62e5d commit 0835858
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
QTOPCUA_BUILD_ARGS: "-DFEATURE_open62541_security:BOOL=ON -DFEATURE_gds:BOOL=ON -DCMAKE_BUILD_TYPE=Release"
QT_PATH: "/opt/Qt/6.6.1"
SSL_PATH: "dependencies/android_openssl/ssl_3"
ANDROID_VERSION_CODE: "3"
ANDROID_VERSION_CODE: ${{ github.GITHUB_RUN_NUMBER }}
ANDROID_VERSION_NAME: "1.0.0"
steps:
- name: Checkout repository
Expand Down Expand Up @@ -103,14 +103,25 @@ jobs:
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
env:
BUILD_TOOLS_VERSION: "33.0.0"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: Signed app bundle
name: android-apk
path: ${{steps.sign_apk.outputs.signedReleaseFile}}
- uses: r0adkll/upload-google-play@v1
- uses: actions/upload-artifact@v3
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
releaseFiles: ${{steps.sign_aab.outputs.signedReleaseFile}}
packageName: com.basyskom.opcua.app
track: internal
status: draft
name: android-abb
path: ${{steps.sign_apk.outputs.signedReleaseFile}}

deploy:
runs-on: ubuntu-latest#
steps:
- uses: actions/download-artifact@v4
- name: Display structure of downloaded files
run: ls -R
#- uses: r0adkll/upload-google-play@v1
# with:
# serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
# releaseFiles: ${{steps.sign_aab.outputs.signedReleaseFile}}
# packageName: com.basyskom.opcua.app
# track: internal
# status: draft

0 comments on commit 0835858

Please sign in to comment.