Skip to content

Commit

Permalink
update action file
Browse files Browse the repository at this point in the history
  • Loading branch information
raspreet-vunet committed Aug 16, 2023
1 parent 2ed2f50 commit 6bd3696
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Extract version from tag
- name: Set VERSION from push event
if: github.event_name == 'push'
run: echo "VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\///')" >> $GITHUB_ENV

- name: Set VERSION from workflow_dispatch input
if: github.event_name == 'workflow_dispatch'
run: echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV

- name: Build Keycloak
uses: ./.github/actions/build-keycloak
Expand Down

0 comments on commit 6bd3696

Please sign in to comment.