-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 1.23 KB
/
create-release.yml
File metadata and controls
34 lines (30 loc) · 1.23 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
#################################################################################################################################
# Demo Parameterized Actions
#
# Source : https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
# Supported by:
# - https://stackoverflow.com/questions/62736315/invoke-github-actions-workflow-manually-and-pass-parameters
#################################################################################################################################
name: Create a Tag and Release
on:
workflow_dispatch:
inputs:
tagString:
description: 'Choose A Tag (must be unique)'
required: true
tagCreator:
description: 'Enter your name'
required: true
tagDescription:
description: 'Describe This Release'
default: 'New Build'
jobs:
tag_and_release:
name: Create a tag and release
runs-on: ubuntu-latest
steps:
- name: Check output
run: |
echo "Tag String: ${{ github.event.inputs.tagString }}"
echo "Tag Author: ${{ github.event.inputs.tagCreator }}"
echo "Tag Description: ${{ github.event.inputs.tagDescription }}"