Skip to content

Commit 7477fce

Browse files
authored
chore: Update promote workflow to work from branch (#1102)
Update promote workflow to work from branch
1 parent c05a799 commit 7477fce

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/promote.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ on:
1414
- mainnet # version compatible with current mainnet env
1515
- unstable # version used by all CI jobs; TODO: publish automatically on every release
1616
required: true
17+
ref:
18+
description: "git ref to checkout into"
19+
type: string
20+
required: true
21+
default: "main"
1722

1823
env:
1924
CI: true
@@ -22,6 +27,23 @@ env:
2227
AWS_S3_FORCE_PATH_STYLE: true
2328

2429
jobs:
30+
pack:
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
platform:
35+
- linux-x64
36+
- darwin-x64
37+
- darwin-arm64
38+
- win32-x64
39+
40+
uses: ./.github/workflows/pack.yml
41+
with:
42+
ref: ${{ inputs.ref }}
43+
platform: ${{ matrix.platform }}
44+
upload-to-s3: true
45+
channel: ${{ inputs.channel }}
46+
2547
promote:
2648
name: "Promote fcli"
2749
runs-on: ubuntu-latest
@@ -35,6 +57,7 @@ jobs:
3557
uses: actions/checkout@v4
3658
with:
3759
repository: fluencelabs/cli
60+
ref: ${{ inputs.ref }}
3861

3962
- name: Import secrets
4063
uses: hashicorp/[email protected]

0 commit comments

Comments
 (0)