Questions tagged [github-actions]
The github-actions tag has no usage guidance.
16
questions
1
vote
0
answers
25
views
Second Generation Beta Package Creation is failing in Github Action
I'm trying to create a 2nd Gen package using Github Action (workflow dispatch Action). After I deployed and run the workflow it gave me an error while uploading the new package:
The error is on the &...
0
votes
0
answers
49
views
Need Help Speeding Up Package Installations in GitHub Actions
Hey Salesforce Community,
We're facing a challenge with our GitHub Actions CI setup, and we could use your insights to make it snappier.
Background:
We recently updated to the latest Salesforce CLI ...
0
votes
0
answers
62
views
CCI set default username when creating a scratch org
I started reading the documentation from Cumulus CI and I'm a little confused about the process to create scratch orgs. My company already has a cumulus.yml file setup for github actions but some ...
1
vote
1
answer
158
views
SFDX CLI Create package version fails in CI/CD
When I executed the same code
branchSwitch="-b test"
echo $(sfdx package version create -d force-app --post-install-script PostInstall -x -w 60 --skip-validation --json $branchSwitch) &...
1
vote
1
answer
198
views
Marketing Cloud SDK crash 8.0.8 and then On upgrade to 8.0.11 - Please add correct version of MarketingCloudSDK.bundle, Added version: 8.0.8/8.0.11
We have been using 8.0.8 build and it was working fine till yesterday but all of the sudden, our Nightly builds releasing to TestFlight start crashing. So we have tried to update our SDK to 8.0.11 ...
0
votes
0
answers
117
views
Process response of force:source:deploy in github workflows
I am trying to learn deployment using github actions and SFDX CLI. Now there is a step where I would like to call force:source:deploy command to validate the code that will be deployed in sandbox like ...
0
votes
0
answers
891
views
Error when validating the deployment 'We couldn't retrieve the design time component information for component'
I am trying to validate Salesforce metadata deployment and getting the following error.
Github actions trigger the deployment validation when a PR is raised.
We couldn't retrieve the design time ...
1
vote
1
answer
56
views
error running robot script from Github Actions using connected app
I followed this article (JWT Flow Authorization) but I am getting the following error:
Error: Error retrieving access token:
{"error":"invalid_grant","error_description":&...
1
vote
1
answer
193
views
Passing artifact name for Vlocity deployment validations
This is for Vlocity deployment using Github Actions.
Scenario: In the code repo I have made a minor change in my Omniscript and I want to validate this change before I deploy.
Following is the yml ...
0
votes
1
answer
166
views
SFDX auth failing when running thru github actions
I am trying to configure a simple yaml file for github actions. Below is the YAML contents and also the error which I am getting.
Note: The same auth command works fine if I am running in the terminal....
1
vote
1
answer
100
views
Is it possible to authenticate your packaging orgs using a connected app in your DevHub org using jwt auth flow?
We are using github actions and cumulusci as part of our ci/cd pipeline. In each of our repositories (packages in SF context), we have a .github/workflows folder and inside it are our yaml files that ...
3
votes
1
answer
643
views
How can I determine the exit status of an sfdx command in a shell script? [closed]
I am running my sfdx deploy command in a shell script as part of a Github action. Currently, the script is reporting success even if the sfdx command fails. This means the build is succeeding even ...
0
votes
1
answer
720
views
force:package:version:promote in CI script not finding package Alias: Subscriber Package Version Id not defined in sfdx-project.json
I am in the process of creating a CI script that uses GitHub actions for the creation and promotion of new package versions.
For this I have created a shell script that is run after test classes have ...
3
votes
1
answer
6k
views
JSON web token error when authorising a Github Action
I'm trying to create a Github action to authorise a Github action and then create a scratch org to run tests against, but I keep getting the below error when trying to authorise. How can I debug this?
...
1
vote
1
answer
520
views
Any way to fix this out of memory error installing @salesforce/sfdx-scanner?
We run our CI (Continuous Integration) build for our app using GitHub actions and part of that is to install and run the Salesforce CLI Scanner. We run on ubuntu-latest that is documented to have &...
1
vote
1
answer
96
views
How to get Codecov to consume Apex coverage data without getting stuck "Processing..."?
I've followed this Salesforce blog Drive your Testing Strategy with Code Coverage to get LWC and Apex code coverage numbers reported in Codecov via GitHub actions. The LWC part works well, but it ...