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

👷 Add input version when workflow dispatch #159

Open
anthonypillot opened this issue Apr 24, 2023 · 0 comments
Open

👷 Add input version when workflow dispatch #159

anthonypillot opened this issue Apr 24, 2023 · 0 comments
Assignees
Labels
ci/cd Improvements or additions to CI/CD question Further information is requested

Comments

@anthonypillot
Copy link
Contributor

anthonypillot commented Apr 24, 2023

Add to this line an input to pick the version to deploy in the workflow dispatch:

workflow_dispatch: # allow manual trigger

Something like:

  workflow_dispatch: # allow manual trigger
    inputs:
      version:
        description: "Version to release (e.g. 1.2.3)"
        required: true

So think to develop a mechanism to switch between ${{ steps.version.outputs.nextVersion }} and the input version.

Cf. this schema:

workflow-dispatch-version.pdf

@anthonypillot anthonypillot added the ci/cd Improvements or additions to CI/CD label Apr 24, 2023
@anthonypillot anthonypillot self-assigned this Apr 24, 2023
@anthonypillot anthonypillot added the question Further information is requested label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Improvements or additions to CI/CD question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant