Skip to main content

Questions tagged [github-actions]

The tag has no usage guidance.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
126 views

Add SF CLI to GitHub Actions Cache

I'm trying to cache sf cli in GitHub Actions but I get sf: command not found when the cache is restored. Does anyone know which other paths I need to add to the cache? - name: Cache id: cache uses:...
jonny-harte's user avatar
1 vote
0 answers
51 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 &...
Oubayda Samrouth's user avatar
1 vote
1 answer
64 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":&...
Saulo's user avatar
  • 967
1 vote
1 answer
213 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 ...
SanJay's user avatar
  • 11
0 votes
0 answers
59 views

Maven Build Fails with Unresolveable build extension: Plugin org.mule.tools.maven:mule-maven-plugin:4.2.0 Error in GitHub Actions

Encountering an issue while trying to build and deploy a Mule application to Anypoint Platform via GitHub Actions. The build fails with the following error: [ERROR] Some problems were encountered ...
Luke Harrison's user avatar
0 votes
0 answers
25 views

Unable to export test run result with GitHub Actions

My goal is to use GHA to export JSON with APEX Test Coverage and sent it to SonarQube for calculation. I have set up one workflow, that initiates Test Run using SF CLI and now I am writing another ...
Bartosz Mikołajczak's user avatar
0 votes
0 answers
18 views

Enable Forecasting on scratch via CLI with Most Likely value

here's the situation... We configured CI/CD with workflow in Github. In the short description it: creates the sandbox, deploys the whole code from the branch to it, and runs all apex tests. Now we ...
pawelw's user avatar
  • 11
0 votes
0 answers
37 views

Same sf cli command works locally but not in Github Action

I have this command in the Github Action workflow sf project deploy validate -x delta/package/package.xml -l RunSpecifiedTests -t randomClassTest Scenario: I deploy a new Apex class. I received this ...
Pam's user avatar
  • 107
0 votes
0 answers
42 views

The value of the $.routeType property isn't supported for this site when installing an unlocked package to a sandbox

When we are installing an unlocked package using sfdx:force:package:install to a Salesforce sandbox, we are getting the following error: Encountered errors installing the package! Installation errors: ...
ThreeThirteenTwentyFour's user avatar
0 votes
0 answers
40 views

GitHub Actions: Delete obsolete salesforce lightning flow version using Shell script and YAML

Before validating and deploying the components, I am attempting to remove any outdated versions of a flow. I discovered a solution on the Salesforce Stack Exchange. Remove all old flow versions using ...
Eashan Parlewar's user avatar
0 votes
0 answers
59 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 ...
Jesus Martinez's user avatar
0 votes
0 answers
1k 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 ...
SanJay's user avatar
  • 11
0 votes
1 answer
199 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....
SanJay's user avatar
  • 11
0 votes
1 answer
826 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 ...
dschib's user avatar
  • 128