Skip to content

Commit

Permalink
add more files
Browse files Browse the repository at this point in the history
  • Loading branch information
valentk777 committed Mar 25, 2024
1 parent 4e04d36 commit 56672d5
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
- name: Get the current version of the product
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1

- name: List current version
run: |
echo Product version: ${{ steps.package-version.outputs.current-version }}
build-android:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,13 +88,13 @@ jobs:
# chmod +x ./gradlew
# ./gradlew signingReport

- name: List versions
run: |
cd android
chmod +x ./gradlew
./gradlew -version
echo Product version: ${{ needs.version.outputs.current-version }}
node --version
# - name: List versions
# run: |
# cd android
# chmod +x ./gradlew
# ./gradlew -version
# echo Product version: ${{ needs.version.outputs.current-version }}
# node --version

- name: Build signed Android release
env:
Expand All @@ -112,20 +116,27 @@ jobs:
update-google-play-console:
runs-on: ubuntu-latest
needs: [ "version", "build-android"]
permissions: read-all
steps:
- uses: actions/download-artifact@v4
with:
name: ${{ needs.version.outputs.project-name }}
# path: build/
github-token: ${{ secrets.GITHUB_TOKEN }}
path: build/

- name: Display structure of downloaded files
run: ls -R
run: |
ls
cd build
ls
cd ${{ needs.version.outputs.project-name }}
ls
- name: Upload App to Google Play
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: com.baitupasaulis.seabattlepaper
releaseFiles: /${{ needs.version.outputs.project-name }}/app-release.aab
releaseFiles: build/${{ needs.version.outputs.project-name }}/app-release.aab
track: production
status: completed

0 comments on commit 56672d5

Please sign in to comment.