Skip to content

publish-apk

publish-apk #6

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 script
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('./path/to/script.js')
console.log(script({github, context}))