2022-07-31 06:02:34 +08:00
|
|
|
name: Prepare Release
|
2022-07-31 05:33:55 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
version:
|
|
|
|
description: 'Version to release'
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
2022-07-31 06:09:14 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
issues: write
|
|
|
|
pull-requests: read
|
2022-07-31 05:33:55 +08:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Prepare release
|
|
|
|
uses: flarum/action-release@master
|
2023-05-17 16:51:06 +08:00
|
|
|
with:
|
|
|
|
next_tag: ${{ inputs.version }}
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
open_collective_token: ${{ secrets.OPEN_COLLECTIVE_TOKEN }}
|