Skip to content

Commit

Permalink
Trying different pattern for pipeline files
Browse files Browse the repository at this point in the history
  • Loading branch information
kryvyifedir committed Feb 25, 2024
1 parent 9644c0b commit 81b0fcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pullrequest_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
branches:
- dev
paths-ignore:
- 'docs/*'
- '.github/*'
- '.github/workflows/*'
- 'docs/**'
- '.github/**'
- 'README.md'

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pullrequest_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
types: [closed]
branches:
- dev
paths:
- 'force-app/**'

jobs:
build:
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
# Creating a new Package version
- name: Creating a new Package version
run: |
JSON=$(sf package version create --target-dev-hub DevHub --package "${{ vars.SF_PKG_ID }}" --installation-key "${{ secrets.SF_PKG_INSTALL_KEY }}" --code-coverage --json --releasenotes-url "${{ vars.SF_RELEASE_NOTES_URL }}" --json --wait 20);
JSON=$(sf package version create --target-dev-hub DevHub --package ${{ vars.SF_PKG_ID }} --installation-key ${{ secrets.SF_PKG_INSTALL_KEY }} --code-coverage --json --releasenotes-url ${{ vars.SF_RELEASE_NOTES_URL }} --json --wait 20);
STATUS=$(echo $JSON | jq '.result.Status');
ID=$(echo $JSON | jq -r '.result.Id');
Expand Down

0 comments on commit 81b0fcd

Please sign in to comment.