publish-apk #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create or Update Release | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [publish-apk] | |
jobs: | |
create-or-update-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout script in repo | |
uses: actions/checkout@v3 | |
- name: Run publish-release | |
uses: actions/github-script@v7 | |
id: gh-script | |
env: | |
RELEASE_ID: ${{ github.event.client_payload.release_id }} | |
with: | |
github-token: ${{ secrets.SOURCE_GH_TOKEN }} | |
result-encoding: string | |
script: | | |
const script = require('./publish-release.js') | |
await script({github, context, core}) |