Skip to content

Commit

Permalink
[WIP] Fixed a few more small issues in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jongpie committed Dec 20, 2024
1 parent a5e9db1 commit 51e8ff2
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -726,18 +726,15 @@ jobs:
# .....
# ...

# TODO Add some extra steps to try to deploy to the scratch org, using the manifest file, to ensure it works
- name: 'Generate core package metadata manifest file'
run: |
npm run package:manifest:generate:core
git add ./nebula-logger/core.package.xml
git commit -m "Generated updated package.xml manifest file for core unlocked package version"
- name: 'Commit New Package Version'
- name: 'Configure git for pipeline commits'
if: ${{ github.event_name == 'pull_request' }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action Bot"
- name: 'Commit new package version'
if: ${{ github.event_name == 'pull_request' }}
run: |
# npm run sf:plugins:link:bummer
echo y | npx sf plugins install @jongpie/sfdx-bummer-plugin --force
npx sf bummer:package:aliases:sort
Expand All @@ -746,6 +743,18 @@ jobs:
git commit -m "Created new core unlocked package version"
git push
# TODO Add some extra steps to try to deploy to the scratch org, using the manifest file, to ensure it works
- name: 'Commit updates to core package manifest file'
if: ${{ github.event_name == 'pull_request' }}
run: |
npm run package:manifest:generate:core || true
git add ./nebula-logger/core.package.xml || true
git commit -m "Generated updated package.xml manifest file for core unlocked package version" || true
- name: 'Push pipeline commits'
if: ${{ github.event_name == 'pull_request' }}
run: git push

promote-package-versions:
if: ${{ github.ref == 'refs/heads/main' }}

Expand Down

0 comments on commit 51e8ff2

Please sign in to comment.