From 5f54b9d8f7987fc35230f1055db35f2f07d4f401 Mon Sep 17 00:00:00 2001 From: Alex Vincent Date: Sun, 25 Aug 2024 08:54:22 +0200 Subject: [PATCH] update ci (#230) --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a7465c..a66efee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: ci on: workflow_dispatch: inputs: - BuildConfiguration: + configuration: type: choice description: Build Configuration required: true @@ -11,16 +11,15 @@ on: options: - Release - Debug - PublishPreview: + push-preview: type: string - description: Publish preview branch? + description: Push preview branch? required: true default: "false" push: branches-ignore: - "preview/**" paths-ignore: - - ".azure-pipelines/**" - LICENSE - README.md pull_request: @@ -34,7 +33,7 @@ jobs: ci: uses: f2calv/gha-workflows/.github/workflows/dotnet-publish-nuget.yml@v1 with: - BuildConfiguration: ${{ github.event.inputs.BuildConfiguration }} - PublishPreview: ${{ github.event.inputs.PublishPreview }} + configuration: ${{ github.event.inputs.configuration }} + push-preview: ${{ github.event.inputs.push-preview }} secrets: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}