From 0eaeeb669965bc34ab980a5ba4f133cc5e014dd4 Mon Sep 17 00:00:00 2001 From: elzik <23397871+elzik@users.noreply.github.com> Date: Sat, 21 Oct 2023 20:39:30 +0100 Subject: [PATCH] Always build MSI & don't set tag for pull requests --- .github/workflows/continuous-integration.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e8e11d0..5f6f2e9 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,11 +32,11 @@ jobs: gist_description: "code-coverage-${{ github.ref_name }}" gist_file_name: fmsync-code-coverage-${{ github.ref_name }}.svg file_path: tests/TestResults/badge_shieldsio_linecoverage_green.svg - - name: Set SemVer Tag - if: (github.ref_name == 'main' || github.event_name == 'pull_request') && matrix.os == 'windows-latest' - run: ./Build/set-semver-tag.ps1 - shell: pwsh - name: Build Windows Installer - if: (github.ref_name == 'main' || github.event_name == 'pull_request') && matrix.os == 'windows-latest' + if: matrix.os == 'windows-latest' run: ./Build/build-windows-installer.ps1 - shell: pwsh \ No newline at end of file + shell: pwsh + - name: Set SemVer Tag + if: github.event_name != 'pull_request' && matrix.os == 'windows-latest' + run: ./Build/set-semver-tag.ps1 + shell: pwsh \ No newline at end of file