Skip to content

Automated release

Automated release #19

Workflow file for this run

name: Patch version, publish to GitHubPackages and create new GitHub release
on:
pull_request:
types:
- closed
branches:
- master
paths-ignore:
- ".github/**"
workflow_dispatch:
jobs:
version:
runs-on: ubuntu-latest
steps:
- uses: rees46/kmp/.github/actions/version@master
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
with:
appId: ${{ vars.PUBLIVERSIONER_ID }}
appSecret: ${{ secrets.PUBLIVERSIONER_SECRET }}
publish:
needs: version
runs-on: ubuntu-latest
steps:
- uses: rees46/kmp/.github/actions/publish@master
with:
appId: ${{ vars.PUBLIVERSIONER_ID }}
appSecret: ${{ secrets.PUBLIVERSIONER_SECRET }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
release:
needs: [publish, version]
runs-on: ubuntu-latest
steps:
- uses: rees46/kmp/.github/actions/release@master
with:
appId: ${{ vars.PUBLIVERSIONER_ID }}
appSecret: ${{ secrets.PUBLIVERSIONER_SECRET }}