Skip to content

Commit b4ad8a1

Browse files
committed
update actions relative pathing
1 parent 6aed6d2 commit b4ad8a1

File tree

8 files changed

+16
-12
lines changed

8 files changed

+16
-12
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ runs:
7777
steps:
7878
- name: Setup B2C CLI
7979
id: setup
80-
uses: ./actions/setup
80+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/setup@v1
8181
with:
8282
version: ${{ inputs.version }}
8383
node-version: ${{ inputs.node-version }}
@@ -97,7 +97,7 @@ runs:
9797
- name: Run command
9898
id: command
9999
if: inputs.command != ''
100-
uses: ./actions/run
100+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/run@v1
101101
with:
102102
command: ${{ inputs.command }}
103103
json: ${{ inputs.json }}

actions/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,5 @@ When `json: true` (default), the `result` output contains the parsed JSON from t
156156
with:
157157
version: '0.4.1' # Pin CLI version
158158
```
159+
160+
> **Note:** High-level actions (`code-deploy`, `data-import`, `job-run`, `mrt-deploy`, `webdav-upload`) and the root action internally reference `actions/setup@v1` and `actions/run@v1`. This means even if you pin the outer action to a specific SHA or tag, the setup and run steps resolve to the latest `v1` release. For full SHA-level reproducibility, use `actions/setup` + `actions/run` directly — each can be pinned independently to an exact SHA. For most users, `@v1` on the high-level actions is the recommended approach.

actions/code-deploy/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runs:
6464
using: 'composite'
6565
steps:
6666
- name: Ensure CLI is installed
67-
uses: ./actions/setup
67+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/setup@v1
6868
with:
6969
version: ${{ inputs.version }}
7070
node-version: ${{ inputs.node-version }}
@@ -113,7 +113,7 @@ runs:
113113
114114
- name: Deploy cartridges
115115
id: deploy
116-
uses: ./actions/run
116+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/run@v1
117117
with:
118118
command: ${{ steps.build-cmd.outputs.cmd }}
119119
json: 'true'

actions/data-import/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
using: 'composite'
5858
steps:
5959
- name: Ensure CLI is installed
60-
uses: ./actions/setup
60+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/setup@v1
6161
with:
6262
version: ${{ inputs.version }}
6363
node-version: ${{ inputs.node-version }}
@@ -89,7 +89,7 @@ runs:
8989
9090
- name: Import data
9191
id: import
92-
uses: ./actions/run
92+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/run@v1
9393
with:
9494
command: ${{ steps.build-cmd.outputs.cmd }}
9595
json: 'true'

actions/job-run/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ runs:
5555
using: 'composite'
5656
steps:
5757
- name: Ensure CLI is installed
58-
uses: ./actions/setup
58+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/setup@v1
5959
with:
6060
version: ${{ inputs.version }}
6161
node-version: ${{ inputs.node-version }}
@@ -91,7 +91,7 @@ runs:
9191
9292
- name: Run job
9393
id: job
94-
uses: ./actions/run
94+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/run@v1
9595
with:
9696
command: ${{ steps.build-cmd.outputs.cmd }}
9797
json: 'true'

actions/mrt-deploy/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747
using: 'composite'
4848
steps:
4949
- name: Ensure CLI is installed
50-
uses: ./actions/setup
50+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/setup@v1
5151
with:
5252
version: ${{ inputs.version }}
5353
node-version: ${{ inputs.node-version }}
@@ -85,7 +85,7 @@ runs:
8585
8686
- name: Deploy MRT bundle
8787
id: deploy
88-
uses: ./actions/run
88+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/run@v1
8989
with:
9090
command: ${{ steps.build-cmd.outputs.cmd }}
9191
json: 'true'

actions/webdav-upload/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
using: 'composite'
5454
steps:
5555
- name: Ensure CLI is installed
56-
uses: ./actions/setup
56+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/setup@v1
5757
with:
5858
version: ${{ inputs.version }}
5959
node-version: ${{ inputs.node-version }}
@@ -65,7 +65,7 @@ runs:
6565

6666
- name: Upload via WebDAV
6767
id: upload
68-
uses: ./actions/run
68+
uses: SalesforceCommerceCloud/b2c-developer-tooling/actions/run@v1
6969
with:
7070
command: "webdav put ${{ inputs.local-path }} ${{ inputs.remote-path }} --root ${{ inputs.root }}"
7171
json: 'true'

docs/guide/ci-cd.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ Use the `version` input to pin the CLI version:
390390

391391
Use `@v1` for the latest stable action version (recommended). The floating `v1` tag is updated on each backward-compatible release.
392392

393+
> **Note:** High-level actions (`code-deploy`, `data-import`, `job-run`, `mrt-deploy`, `webdav-upload`) and the root action internally reference `actions/setup@v1` and `actions/run@v1`. This means even if you pin the outer action to a specific SHA or tag, the setup and run steps resolve to the latest `v1` release. For full SHA-level reproducibility, use `actions/setup` + `actions/run` directly — each can be pinned independently to an exact SHA. For most users, `@v1` on the high-level actions is the recommended approach.
394+
393395
## Plugins
394396

395397
The CLI supports [plugins](/guide/extending) for custom configuration sources, HTTP middleware, and more. Install plugins in CI with the `plugins` input on the `setup` action:

0 commit comments

Comments
 (0)