Skip to content

Commit

Permalink
workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaSeylani committed Oct 21, 2024
1 parent 537d176 commit 36367fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,20 @@ jobs:

steps:
- name: Check out code - major release
uses: actions/checkout@v3
if: ${{ github.event.inputs.release-type == 'major' }}
uses: actions/checkout@v3
with:
ref: ${{ needs.determine-next-versions.outputs.branch-major }}

- name: Check out code - minor release
uses: actions/checkout@v3
if: ${{ github.event.inputs.release-type == 'minor' }}
uses: actions/checkout@v3
with:
ref: ${{ needs.determine-next-versions.outputs.branch-minor }}

- name: Check out code - patch release
uses: actions/checkout@v3
if: ${{ github.event.inputs.release-type == 'patch' }}
uses: actions/checkout@v3
with:
ref: ${{ needs.determine-next-versions.outputs.branch-patch }}

Expand Down Expand Up @@ -197,6 +197,9 @@ jobs:
with:
ref: ${{ needs.determine-next-versions.outputs.branch-patch }}

- name: Verify Current Branch
run: git branch --show-current

- name: Update major version in package.json
if: ${{ github.event.inputs.release-type == 'major' }}
run: |
Expand Down

This file was deleted.

0 comments on commit 36367fe

Please sign in to comment.