Skip to content

Commit e6782a9

Browse files
committed
Fix nested workflow calls to use absolute paths
Changed relative paths (./.github/workflows/package.yml) to absolute repository paths (salesforcecli/github-workflows/.github/workflows/vscode-package.yml@feat/add-vscode-extension-ci) This fixes the issue where reusable workflows called from other repos would fail with 'workflow was not found' errors because relative paths resolve to the calling repo, not the workflow's repo.
1 parent d82fcac commit e6782a9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/vscode-ci-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
name: Package
166166
needs: test
167167
if: ${{ needs.test.result == 'success' }}
168-
uses: ./.github/workflows/package.yml
168+
uses: salesforcecli/github-workflows/.github/workflows/vscode-package.yml@feat/add-vscode-extension-ci
169169
with:
170170
branch: ${{ github.head_ref || github.ref_name }}
171171
artifact-name: vsix-packages

.github/workflows/vscode-publish-extensions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ jobs:
261261

262262
package:
263263
needs: [bump-versions, calculate-artifact-name, determine-changes]
264-
uses: ./.github/workflows/package.yml
264+
uses: salesforcecli/github-workflows/.github/workflows/vscode-package.yml@feat/add-vscode-extension-ci
265265
with:
266266
branch: ${{ inputs.branch || github.ref_name }}
267267
artifact-name: ${{ needs.calculate-artifact-name.outputs.artifact-name }}

0 commit comments

Comments
 (0)