diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05eef5a..f8d2fa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,15 +5,6 @@ on: branches-ignore: - dependabot/* pull_request: - workflow_dispatch: - inputs: - release: - description: Create a release - required: true - default: "false" - branches: - - main - - release/* jobs: build: @@ -56,7 +47,7 @@ jobs: name: unittests-${{ matrix.os }} fail_ci_if_error: true release: - if: "github.event.inputs.release" + if: github.ref == 'refs/heads/main' needs: build runs-on: windows-latest env: