From 52b10d9d3e2340c1cbc9be2842c636a02808a426 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Wed, 24 Feb 2021 14:42:22 +0000 Subject: [PATCH] Automate release - Test Github Action (#3726) * Test custom action with custom input * Run test workflow on push --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..23ff3be28 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }}" \ No newline at end of file