Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cdivitotawela committed Jul 3, 2024
1 parent 1aa8e96 commit 1bab43c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
release:
types: [published]
push:
branch: run-on-release


jobs:
release:
Expand All @@ -22,3 +19,10 @@ jobs:
- name: Run on release
if: ${{ github.event_name == 'release' }}
run: echo "Run this step on release"

- name: Release tag - method 1
run: echo "${{ github.ref }}" | sed 's|^refs/tags/\(.*)$|TAGA=\1|g' >> $GITHUB_ENV

- name: Release tag - disply
run: |
echo "Method 1 - ${{ env.TAGA }}"

0 comments on commit 1bab43c

Please sign in to comment.