From c1d3170cf7197f37337fcb3f55ff3b003d1feaba Mon Sep 17 00:00:00 2001 From: yorifuji Date: Wed, 19 Jun 2024 23:12:41 +0900 Subject: [PATCH] Create foo.yml --- .github/workflows/foo.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/foo.yml diff --git a/.github/workflows/foo.yml b/.github/workflows/foo.yml new file mode 100644 index 0000000..efd3c4d --- /dev/null +++ b/.github/workflows/foo.yml @@ -0,0 +1,18 @@ +name: environment input test + +run-name: ${{ github.event.inputs.environment }} + +on: + workflow_dispatch: + inputs: + environment: + type: environment + +jobs: + show-input: + runs-on: ubuntu-latest + environment: ${{ github.event.inputs.environment }} + steps: + - name: show token + run: | + echo ${{ vars.TOKEN }}