Skip to content

Commit

Permalink
chore: add push input to package sdks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Dec 25, 2023
1 parent f4810b5 commit 030fbf4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/package-sdks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ on:
description: "Engine tag to build"
required: true
sdk:
description: "SDK to build"
description: "SDK(s) to build"
required: true
default: "all"
push:
description: "Push to registry(s)"
required: true
default: "false"

permissions:
contents: write
Expand Down Expand Up @@ -73,9 +77,9 @@ jobs:
- name: Build All SDKs
if: github.event.inputs.sdk == 'all'
run: |
dagger run go run ./build
dagger run go run ./build --push=${{ github.event.inputs.push }}
- name: Build Individual SDK(s)
if: github.event.inputs.sdk != 'all'
run: |
dagger run go run ./build --languages=${{ github.event.inputs.sdk }}
dagger run go run ./build --languages=${{ github.event.inputs.sdk }} --push=${{ github.event.inputs.push }}

0 comments on commit 030fbf4

Please sign in to comment.