Skip to content

Workflow file for this run

name: Publish Release to Play Store
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- id: fetchLatestRelease
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: ${{ github.repository }}
excludes: prerelease, draft
token: ${{ secrets.GITHUB_TOKEN }}
- name: Print Latest Release
run: echo ${{ steps.fetchLatestRelease.outputs.release }}
- name: Prepare Release Artifact
uses: dsaltares/fetch-gh-release-asset@master
with:
file: 'app-release.aab'
- name: Prepare Release mapping
uses: dsaltares/fetch-gh-release-asset@master
with:
file: 'mapping.txt'
- name: List files
run: ls -l
- name: Upload Android Release to Play Store
uses: r0adkll/[email protected]
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: me.rosuh.easywatermark
releaseFiles: 'app-release.aab'
track: production
status: inProgress
mappingFile: 'mapping.txt'