-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (25 loc) · 787 Bytes
/
Copy pathrelease.yaml
File metadata and controls
26 lines (25 loc) · 787 Bytes
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
name: Release
on:
workflow_dispatch:
inputs:
custom_tag:
type: string
jobs:
Trigger-Release:
runs-on: self-hosted
steps:
- name: Repo | Checkout Codebase
uses: actions/checkout@v3
- name: Repo | Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
custom_tag: ${{ github.event.inputs.custom_tag }}
github_token: ${{ secrets.GHUB_TOKEN }}
- name: Repo | Create a release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
token: ${{ secrets.GHUB_TOKEN }}