Automate release - Test Github Action (#3726)
* Test custom action with custom input * Run test workflow on push
This commit is contained in:
parent
0f4f01bb7b
commit
52b10d9d3e
24
.github/workflows/release.yml
vendored
Normal file
24
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version'
|
||||
required: true
|
||||
default: ''
|
||||
|
||||
jobs:
|
||||
hello_world_job:
|
||||
runs-on: ubuntu-latest
|
||||
name: A job to say hello
|
||||
steps:
|
||||
- name: Hello world action step
|
||||
id: hello
|
||||
uses: bblommers/moto-release-action@v1
|
||||
with:
|
||||
who-to-greet: 'Mona the Octocat wants to release ${{ github.event.inputs.version }}'
|
||||
# Use the output from the `hello` step
|
||||
- name: Get the output time
|
||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
Loading…
Reference in New Issue
Block a user