From fbc0685ee476e101cd3c00116d67a2c2bc8ada5f Mon Sep 17 00:00:00 2001 From: sophia-guo Date: Fri, 23 Oct 2020 17:28:05 -0400 Subject: [PATCH] Update main.yml Signed-off-by: Sophia Guo --- .github/workflows/main.yml | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1457945..f7155f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,21 +1,34 @@ +# name: Manually triggered workflow +# on: +# workflow_dispatch: +# inputs: +# name: +# description: 'Person to greet' +# required: true +# default: 'Mona the Octocat' +# home: +# description: 'location' +# required: false +# jobs: +# say_hello: +# runs-on: ubuntu-latest +# steps: +# - run: | +# echo "Hello ${{ github.event.inputs.name }}!" +# echo "- in ${{ github.event.inputs.home }}!" + + name: Manually triggered workflow on: - workflow_dispatch: - inputs: - name: - description: 'Person to greet' - required: true - default: 'Mona the Octocat' - home: - description: 'location' - required: false + push: + jobs: say_hello: runs-on: ubuntu-latest steps: - run: | - echo "Hello ${{ github.event.inputs.name }}!" - echo "- in ${{ github.event.inputs.home }}!" + curl -X GET -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + https://api.github.com/repos/quarkusio/quarkus-quickstarts/releases/latest #name: "Remove autoTestPR branch" #on: