|
1 | 1 | name: Deploy App Play Store
|
2 | 2 |
|
3 | 3 | on:
|
4 |
| - push: |
5 |
| -# branches: |
6 |
| -# - master |
7 |
| - tags: |
8 |
| - - 'v*' |
| 4 | + workflow_dispatch: |
| 5 | + inputs: |
| 6 | + version: |
| 7 | + description: 'Github release version' |
| 8 | + required: true |
| 9 | + type: string |
| 10 | + release: |
| 11 | + types: [ published ] |
9 | 12 |
|
10 | 13 | jobs:
|
11 | 14 | build:
|
12 | 15 | runs-on: ubuntu-latest
|
13 | 16 | steps:
|
14 | 17 |
|
15 | 18 | - uses: actions/checkout@v4
|
16 |
| - |
17 |
| - - name: Setting up project |
18 |
| - uses: ./.github/actions/setup |
| 19 | + |
| 20 | + - uses: robinraju/release-downloader@v1 |
| 21 | + with: |
| 22 | + # The github tag. e.g: v1.0.1 |
| 23 | + # Download assets from a specific tag/version |
| 24 | + tag: ${{ github.event.release.name || github.event.inputs.release }} |
| 25 | + # The name of the file to download. |
| 26 | + # Use this field only to specify filenames other than tarball or zipball, if any. |
| 27 | + # Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..) |
| 28 | + fileName: 'keypass-free-*.apk' |
| 29 | + # Relative path under $GITHUB_WORKSPACE to place the downloaded file(s) |
| 30 | + # It will create the target directory automatically if not present |
| 31 | + # eg: out-file-path: "my-downloads" => It will create directory $GITHUB_WORKSPACE/my-downloads |
| 32 | + out-file-path: 'app/build/outputs/bundle/freeRelease' |
| 33 | + # Github access token to download files from private repositories |
| 34 | + # https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets |
| 35 | + # eg: token: ${{ secrets.MY_TOKEN }} |
| 36 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 37 | + |
| 38 | + - uses: robinraju/release-downloader@v1 |
| 39 | + with: |
| 40 | + # The github tag. e.g: v1.0.1 |
| 41 | + # Download assets from a specific tag/version |
| 42 | + tag: ${{ github.event.release.name || github.event.inputs.release }} |
| 43 | + # The name of the file to download. |
| 44 | + # Use this field only to specify filenames other than tarball or zipball, if any. |
| 45 | + # Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..) |
| 46 | + fileName: 'keypass-pro-*.apk' |
| 47 | + # Relative path under $GITHUB_WORKSPACE to place the downloaded file(s) |
| 48 | + # It will create the target directory automatically if not present |
| 49 | + # eg: out-file-path: "my-downloads" => It will create directory $GITHUB_WORKSPACE/my-downloads |
| 50 | + out-file-path: 'app/build/outputs/bundle/proRelease' |
| 51 | + # Github access token to download files from private repositories |
| 52 | + # https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets |
| 53 | + # eg: token: ${{ secrets.MY_TOKEN }} |
| 54 | + token: ${{ secrets.GITHUB_TOKEN }} |
19 | 55 |
|
20 | 56 | - name: Build Free Release AAB
|
21 | 57 | id: buildFreeRelease
|
@@ -73,15 +109,15 @@ jobs:
|
73 | 109 | status: inProgress
|
74 | 110 | whatsNewDirectory: whatsnew/
|
75 | 111 |
|
76 |
| - - name: Deploy Free to Indus App Store |
77 |
| - id: uploadToIndus |
78 |
| - uses: yogeshpaliyal/[email protected] |
79 |
| - with: |
80 |
| - type: UPLOAD_AAB |
81 |
| - apiKey: ${{secrets.INDUS_API_KEY}} |
82 |
| - packageName: com.yogeshpaliyal.keypass |
83 |
| - aabFile: app/build/outputs/bundle/freeRelease/*.aab |
84 |
| - signingKeyBase64: ${{ secrets.SIGNING_KEY }} |
85 |
| - keystoreAlias: ${{ secrets.ALIAS }} |
86 |
| - keystorePassword: ${{ secrets.KEY_STORE_PASSWORD }} |
87 |
| - keyPassword: ${{ secrets.KEY_PASSWORD }} |
| 112 | +# - name: Deploy Free to Indus App Store |
| 113 | +# id: uploadToIndus |
| 114 | +# uses: yogeshpaliyal/[email protected] |
| 115 | +# with: |
| 116 | +# type: UPLOAD_AAB |
| 117 | +# apiKey: ${{secrets.INDUS_API_KEY}} |
| 118 | +# packageName: com.yogeshpaliyal.keypass |
| 119 | +# aabFile: app/build/outputs/bundle/freeRelease/*.aab |
| 120 | +# signingKeyBase64: ${{ secrets.SIGNING_KEY }} |
| 121 | +# keystoreAlias: ${{ secrets.ALIAS }} |
| 122 | +# keystorePassword: ${{ secrets.KEY_STORE_PASSWORD }} |
| 123 | +# keyPassword: ${{ secrets.KEY_PASSWORD }} |
0 commit comments