Skip to content

Commit

Permalink
support multiple features
Browse files Browse the repository at this point in the history
  • Loading branch information
sukoneck committed Dec 4, 2024
1 parent f37c4cc commit c0df8e9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- "v*"
workflow_dispatch:
inputs:
draft-release:
description: "Draft Release"
required: false
type: boolean
default: false
build-docker:
description: "Build Docker"
required: false
Expand All @@ -20,11 +25,6 @@ on:
description: "Binary Compilation Features"
required: false
type: string
draft-release:
description: "Draft Release"
required: false
type: boolean
default: false

jobs:
extract-version:
Expand Down Expand Up @@ -75,9 +75,7 @@ jobs:
# Paused until docker is pre-installed https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
# - target: aarch64-apple-darwin
# runner: warp-macos-14-arm64-6x
features: ${{ fromJson(inputs.features || '[""]') }}
# - ""
# - "redact-sensitive"
features: ${{ inputs.features != '' && fromJson('["' + join(split(replace(inputs.features, ',', ' '), ' '), '","') + '"]') || [''] }}

steps:
- name: Install dependencies
Expand Down Expand Up @@ -176,7 +174,6 @@ jobs:
- name: docker buildx
uses: docker/setup-buildx-action@v3

# https://github.com/docker/metadata-action
- name: docker metadata
uses: docker/metadata-action@v5
id: meta
Expand Down

0 comments on commit c0df8e9

Please sign in to comment.