Skip to content

Commit

Permalink
- added changes to test workflow to accommodate the new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Gil committed Oct 4, 2023
1 parent bee8ea9 commit c36bbc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
if: ${{ github.event.ref_type == 'branch' }}
run: echo Yes we just created a branch
- name: Is it a release branch?
if: ${{ github.event.ref_type == 'branch' && contains(github.event.ref, 'release/') }}
if: ${{ github.event.ref_type == 'branch' && ( contains(github.event.ref, 'release/') || contains(github.event.ref, 'release-') ) }}
run: echo Yes we are on a release branch
- name: Spit out the ref to the action then
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
if: ${{ github.event.ref_type == 'branch' && ( startsWith(github.event.ref, 'release/') || startsWith(github.event.ref, 'release-') ) }}
env:
REF: ${{ github.event.ref }}
run: echo $REF
- name: Run the actual action
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'release/') }}
if: ${{ github.event.ref_type == 'branch' && ( startsWith(github.event.ref, 'release/') || startsWith(github.event.ref, 'release-') ) }}
uses: ./
id: branchVersion
- name: Dump the version info from the action outputs
Expand Down

0 comments on commit c36bbc7

Please sign in to comment.