Skip to content

Commit

Permalink
Fix build workflow (???)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkon committed Aug 11, 2021
1 parent e5a3d7a commit a4e08ce
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
keyStorePassword: ${{ secrets.PASSWORD }}
keyPassword: ${{ secrets.PASSWORD }}

- name: Prepare build artifacts
- name: Prepare build metadata
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'LiveTL/android'
run: |
set -x
Expand All @@ -89,16 +89,14 @@ jobs:
echo "GOOGLE_PLAY_TRACK=production" >> $GITHUB_ENV
fi
cp ${{ env.SIGNED_RELEASE_FILE }} livetl-${{ env.VERSION_TAG }}.aab
- name: Create release
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'LiveTL/android'
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.VERSION_TAG }}
name: LiveTL for Android ${{ env.VERSION_TAG }}
files: |
livetl-${{ env.VERSION_TAG }}.aab
${{ env.SIGNED_RELEASE_FILE }}
draft: true
prerelease: false
env:
Expand All @@ -108,9 +106,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'LiveTL/android'
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ env.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}
packageName: com.livetl.android
releaseFile: livetl-${{ env.VERSION_TAG }}.aab
releaseFile: ${{ env.SIGNED_RELEASE_FILE }}
mappingFile: app/build/outputs/mapping/playstoreRelease/mapping.txt
track: ${{ env.GOOGLE_PLAY_TRACK }}
whatsNewDirectory: distribution

0 comments on commit a4e08ce

Please sign in to comment.