-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (34 loc) · 1.13 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Deploy
on:
workflow_dispatch:
jobs:
android:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/full-build
with:
RELEASE_KEYSTORE_BASE64: "${{ secrets.RELEASE_KEYSTORE_BASE64 }}"
RELEASE_KEYSTORE_PASS: "${{ secrets.RELEASE_KEYSTORE_PASS }}"
- uses: dotnet/[email protected]
id: nbgv
- name: Create GitHub release
uses: ncipollo/release-action@v1
with:
tag: "v${{ steps.nbgv.outputs.SimpleVersion }}"
artifacts: "publish/*.apk"
allowUpdates: true
removeArtifacts: true
replacesArtifacts: true
artifactErrorsFailBuild: true
makeLatest: true
generateReleaseNotes: true
prerelease: ${{ !steps.nbgv.outputs.PublicRelease }}
- name: Upload to Play Store
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: "${{ secrets.SERVICE_ACCOUNT_JSON }}"
packageName: com.danielchalmers.journalapp
releaseFiles: publish/*-Signed.aab
track: beta
status: completed