From 351319239ea3411b4e72e0229dbcc4132b4f96ea Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Wed, 18 Sep 2024 21:27:42 +0300 Subject: [PATCH] Allow skipping tests on CD for emergency deployments --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea8ec1b0..77f5576b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,11 @@ on: type: string description: Package version required: false + skip-tests: + type: boolean + description: Skip tests + required: false + default: false deploy: type: boolean description: Deploy package @@ -27,6 +32,7 @@ jobs: main: uses: Tyrrrz/.github/.github/workflows/nuget.yml@master with: + skip-tests: ${{ inputs.skip-tests }} deploy: ${{ inputs.deploy || github.ref_type == 'tag' }} package-version: ${{ inputs.package-version || (github.ref_type == 'tag' && github.ref_name) || format('0.0.0-ci-{0}', github.sha) }} dotnet-version: 8.0.x