From f5ed427dd257e1131bafdcc3b573c3ef3697e7ca Mon Sep 17 00:00:00 2001 From: xuu Date: Sat, 30 Sep 2023 19:57:17 -0600 Subject: [PATCH] build: test workflow dispatch --- .gitea/workflows/bump.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/bump.yml b/.gitea/workflows/bump.yml index 0f86d0f..d8b2053 100644 --- a/.gitea/workflows/bump.yml +++ b/.gitea/workflows/bump.yml @@ -1,16 +1,15 @@ name: Go Bump on: - # workflow_dispatch: - # inputs: - # stable: - # description: 'Stable Release' - # required: false - # type: boolean - # prerelease: - # description: 'Pre Release' - # required: false - # type: boolean + workflow_dispatch: + inputs: + NAME: + description: "A random input name for the workflow" + type: string + SOME_VALUE: + description: "Some other input to pass" + type: string + push: branches: [ "main" ] pull_request: @@ -22,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v3 - - run: echo stable=${{ inputs.stable }} pre=${{ inputs.prerelease }} + - run: echo stable=${{ inputs.STABLE }} pre=${{ inputs.BETA }} - name: Set up Go uses: actions/setup-go@v3