Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update promote workflow to work from branch #1102

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
- mainnet # version compatible with current mainnet env
- unstable # version used by all CI jobs; TODO: publish automatically on every release
required: true
ref:
description: "git ref to checkout into"
type: string
required: true
default: "main"

env:
CI: true
Expand All @@ -22,6 +27,23 @@ env:
AWS_S3_FORCE_PATH_STYLE: true

jobs:
pack:
strategy:
fail-fast: false
matrix:
platform:
- linux-x64
- darwin-x64
- darwin-arm64
- win32-x64

uses: ./.github/workflows/pack.yml
with:
ref: ${{ inputs.ref }}
platform: ${{ matrix.platform }}
upload-to-s3: true
channel: ${{ inputs.channel }}

promote:
name: "Promote fcli"
runs-on: ubuntu-latest
Expand All @@ -35,6 +57,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: fluencelabs/cli
ref: ${{ inputs.ref }}

- name: Import secrets
uses: hashicorp/[email protected]
Expand Down
Loading