forked from kestra-io/plugin-jms
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 1.1 KB
/
Copy pathrelease.yml
File metadata and controls
38 lines (34 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Release Plugin
on:
workflow_dispatch:
inputs:
releaseVersion:
description: "Release version (e.g. 1.2.0)"
required: true
nextVersion:
description: "Next version (e.g. 1.3.0-SNAPSHOT)"
required: false
kestraVersion:
description: "Kestra core version (e.g. 1.1.0)"
required: true
dryRun:
description: "If true, simulate the release without pushing or tagging"
required: false
default: "false"
permissions:
contents: write
actions: read
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Release plugin using reusable action
uses: kestra-io/actions/composite/plugin-release@main
with:
releaseVersion: ${{ github.event.inputs.releaseVersion }}
kestraVersion: ${{ github.event.inputs.kestraVersion }}
nextVersion: ${{ github.event.inputs.nextVersion }}
dryRun: ${{ github.event.inputs.dryRun }}
webhookUrl: ${{ secrets.KESTRA_WEBHOOK_URL_PLUGIN_RELEASE_INDEX }}
env:
GITHUB_PAT: ${{ secrets.GH_PERSONAL_TOKEN }}