Automate release - Test Github Action (#3726)

* Test custom action with custom input

* Run test workflow on push
This commit is contained in:
Bert Blommers 2021-02-24 14:42:22 +00:00 committed by GitHub
parent 0f4f01bb7b
commit 52b10d9d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.github/workflows/release.yml vendored Normal file
View 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 }}"