Skip to content

Commit

Permalink
fix inputs:
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jan 31, 2024
1 parent 87f8297 commit 3695257
Showing 1 changed file with 30 additions and 47 deletions.
77 changes: 30 additions & 47 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,53 +19,36 @@ name: Release to GitHub and PyPI
on:
workflow_dispatch:
inputs:
deploy-to:
type: choice
description: Choose where to publish (test/prod)
options:
- PypiProd
- PypiTest
default: PypiTest


# target_branch:
# description: "The branch to release from"
# type: string
# required: true
# version_number:
# description: "The release version number (i.e. 1.0.0b1)"
# type: string
# required: true
# test_run:
# description: "Test run (Publish release as draft)"
# type: boolean
# default: true
# required: false
# nightly_release:
# description: "Nightly release to dev environment"
# type: boolean
# default: false
# required: false
# workflow_call:
# inputs:
# target_branch:
# description: "The branch to release from"
# type: string
# required: true
# version_number:
# description: "The release version number (i.e. 1.0.0b1)"
# type: string
# required: true
# test_run:
# description: "Test run (Publish release as draft)"
# type: boolean
# default: true
# required: false
# nightly_release:
# description: "Nightly release to dev environment"
# type: boolean
# default: false
# required: false
version_number:
description: "The release version number (i.e. 1.0.0b1)"
type: string
required: true
test_run:
description: "Test run (Publish release as draft)"
type: boolean
default: true
required: false
nightly_release:
description: "Nightly release to dev environment"
type: boolean
default: false
required: false
workflow_call:
inputs:
version_number:
description: "The release version number (i.e. 1.0.0b1)"
type: string
required: true
test_run:
description: "Test run (Publish release as draft)"
type: boolean
default: true
required: false
nightly_release:
description: "Nightly release to dev environment"
type: boolean
default: false
required: false


permissions:
Expand Down

0 comments on commit 3695257

Please sign in to comment.