Skip to content

Commit e22f858

Browse files
authored
Updates for CLI v3 (#10)
1 parent c76c727 commit e22f858

9 files changed

+13
-10
lines changed

.github/workflows/commit-metadata-all-environments.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install OrgFlow
3939
uses: orgflow-actions/setup@v1
4040
with:
41-
version: 2
41+
version: 3
4242
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
4343
stack-name: ${{ secrets.ORGFLOW_STACKNAME }}
4444
env:

.github/workflows/commit-metadata.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install OrgFlow
3838
uses: orgflow-actions/setup@v1
3939
with:
40-
version: 2
40+
version: 3
4141
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
4242
salesforce-username: ${{ secrets.SALESFORCE_USERNAME }}
4343
salesforce-password: ${{ secrets.SALESFORCE_PASSWORD }}

.github/workflows/create-environment.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
sandboxName:
1313
description: "Name of environment's sandbox:"
1414
required: true
15+
access:
16+
description: "Name of the public group whose members can access the sandbox. This is only required if you are not using a pre-existing sandbox:"
17+
required: false
1518
branchName:
1619
description: "Name of environment's Git branch:"
1720
required: true
@@ -40,7 +43,7 @@ jobs:
4043
- name: Install OrgFlow
4144
uses: orgflow-actions/setup@v1
4245
with:
43-
version: 2
46+
version: 3
4447
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
4548
salesforce-username: ${{ secrets.SALESFORCE_USERNAME }}
4649
salesforce-password: ${{ secrets.SALESFORCE_PASSWORD }}
@@ -53,7 +56,7 @@ jobs:
5356
# Run OrgFlow command to create environment:
5457
- name: Run env:create
5558
run: |
56-
orgflow env:create --environment="${{ github.event.inputs.environmentName }}" --sandboxName="${{ github.event.inputs.sandboxName }}" --branchName="${{ github.event.inputs.branchName }}" --useExistingSandbox --useExistingBranch --noConfirm --waitForLock=5
59+
orgflow env:create --environment="${{ github.event.inputs.environmentName }}" --sandboxName="${{ github.event.inputs.sandboxName }}" --access="${{ github.event.inputs.access }}" --branchName="${{ github.event.inputs.branchName }}" --useExistingSandbox --useExistingBranch --noConfirm --waitForLock=5
5760
5861
# Tag this environment so that the upstream merge workflow can filter based on this tag:
5962
- name: Run env:tags:set

.github/workflows/create-stack.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Run in OrgFlow container to avoid having to download and install:
2020
# NOTE: Normally we'd use the 'orgflow-actions/setup' action, but that action depends on the stack having already been created.
2121
container:
22-
image: orgflow/cli:2.x
22+
image: orgflow/cli:3.x
2323
env:
2424
ORGFLOW__ACCEPTEULA: true # If someone has a license key then they've already accepted the EULA.
2525
ORGFLOW__LICENSEKEY: ${{ secrets.ORGFLOW_LICENSEKEY }}

.github/workflows/deploy-metadata.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install OrgFlow
2929
uses: orgflow-actions/setup@v1
3030
with:
31-
version: 2
31+
version: 3
3232
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
3333
salesforce-username: ${{ secrets.SALESFORCE_USERNAME }}
3434
salesforce-password: ${{ secrets.SALESFORCE_PASSWORD }}

.github/workflows/merge-production-to-sandboxes.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install OrgFlow
4040
uses: orgflow-actions/setup@v1
4141
with:
42-
version: 2
42+
version: 3
4343
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
4444
stack-name: ${{ secrets.ORGFLOW_STACKNAME }}
4545
env:

.github/workflows/run-apex-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install OrgFlow
3838
uses: orgflow-actions/setup@v1
3939
with:
40-
version: 2
40+
version: 3
4141
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
4242
salesforce-username: ${{ secrets.SALESFORCE_USERNAME }}
4343
salesforce-password: ${{ secrets.SALESFORCE_PASSWORD }}

.github/workflows/unlock-environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install OrgFlow
3030
uses: orgflow-actions/setup@v1
3131
with:
32-
version: 2
32+
version: 3
3333
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
3434
stack-name: ${{ secrets.ORGFLOW_STACKNAME }}
3535
env:

.github/workflows/validate-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install OrgFlow
3131
uses: orgflow-actions/setup@v1
3232
with:
33-
version: 2
33+
version: 3
3434
license-key: ${{ secrets.ORGFLOW_LICENSEKEY }}
3535
salesforce-username: ${{ secrets.SALESFORCE_USERNAME }}
3636
salesforce-password: ${{ secrets.SALESFORCE_PASSWORD }}

0 commit comments

Comments
 (0)