From c0e95fa2ad7d003ab976ffa69ca2efff38b3bc26 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Tue, 7 Nov 2023 08:21:34 +1100 Subject: [PATCH] s/github.event/github.event_name --- .github/workflows/bump-formula.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-formula.yaml b/.github/workflows/bump-formula.yaml index 91cda8d..007932b 100644 --- a/.github/workflows/bump-formula.yaml +++ b/.github/workflows/bump-formula.yaml @@ -15,8 +15,8 @@ jobs: - name: Extract version id: extract-version run: | - echo ${{ github.event }} - if [[ ${{ github.event }} == "workflow_dispatch" ]]; then + echo ${{ github.event_name }} + if [[ ${{ github.event_name }} == "workflow_dispatch" ]]; then echo "tag-name=${{ inputs.tag-name }}" >> $GITHUB_OUTPUT else echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT