Skip to content

Commit

Permalink
Updating versions (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jharajeev55 authored Sep 17, 2024
1 parent b7243a7 commit d2b6854
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
cd WebHelpDocs
npm pack
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.0
with:
name: WebHelpDocs
path: ./WebHelpDocs/*.tgz

publish:
name: Publish
if: startsWith(github.ref, 'refs/tags/')
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) && github.event.pull_request.merged ) }}
needs:
- package
runs-on: ubuntu-latest
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
# npm version --no-git-tag-version --allow-same-version "$V"
# if: startsWith(github.ref, 'refs/tags/')
- name: Get Artifacts
uses: actions/[email protected].7
uses: actions/[email protected].8
with:
name: WebHelpDocs
- name: publish pack
Expand All @@ -77,7 +77,7 @@ jobs:

release:
name: Release
if: startsWith(github.ref, 'refs/tags/')
if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) && github.event.pull_request.merged ) }}
needs:
- publish
runs-on: ubuntu-latest
Expand Down

0 comments on commit d2b6854

Please sign in to comment.