Skip to content

Commit

Permalink
feat: Test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentKobz committed Jul 4, 2024
1 parent 91c20cf commit 504c6de
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/playstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,16 @@ jobs:
uses: actions/setup-ruby@v1
with:
ruby-version: "3.x"

- name: Setup fastlane
run: |
cd enioka_scan
bundle install
cd ..
bundler-cache: true

- name: Restore json key # make sure that you restore the key in the correct directory (ref. fastlane/Appfile)
run: |
cd enioka_scan
cd fastlane
echo "${{ secrets.GOOGLE_API_PUB_JSON }}" | base64 --decode > service-account.json
cd ../..
echo "${{ secrets.GOOGLE_API_PUB_JSON }}" | base64 --decode > ${{ github.workspace }}/service-account.json
- name: Restore keystore # make sure that you restore the key in the correct directory (same as app/gradle.properties)
run: |
cd enioka_scan/app
echo "${{ secrets.SIGN_KEY }}" > myKeystore.keystore.asc
gpg -d --passphrase ${{ secrets.SIGN_PASSWORD }} --batch myKeystore.keystore.asc > myKeystore.keystore
cd ../..
echo "${{ secrets.SIGN_KEY }}" > ${{ github.workspace }}/myKeystore.keystore.asc
gpg -d --passphrase ${{ secrets.SIGN_PASSWORD }} --batch myKeystore.keystore.asc > ${{ github.workspace }}/myKeystore.keystore
- name: Set up environment
uses: actions/setup-java@v4
Expand All @@ -47,6 +37,4 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Upload app to Play Store (Internal track)
run: |
cd enioka_scan
bundle exec fastlane internal
run: bundle exec fastlane internal

0 comments on commit 504c6de

Please sign in to comment.