From d5dc4131a2b57337c7d7eadc6a47245e0c6b978f Mon Sep 17 00:00:00 2001 From: Anton Oks <2266872+AntonOks@users.noreply.github.com> Date: Sun, 17 Mar 2024 20:36:48 +0100 Subject: [PATCH] Update build_rakudo-star.yml - switching the "VS Dev Environment" action to compnerd/gha-setup-vsdevenv - ensuring this workflow runs only if new "git tag"s are added by adding a "ref_type" check --- .github/workflows/build_rakudo-star.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_rakudo-star.yml b/.github/workflows/build_rakudo-star.yml index 9406a14..fc617da 100644 --- a/.github/workflows/build_rakudo-star.yml +++ b/.github/workflows/build_rakudo-star.yml @@ -18,11 +18,12 @@ jobs: build_Rakudo-Star_Windows_MSI_package: # Windows-latest doesn't work since it's 2022. We need to fall back to windows-2019 runs-on: windows-2019 + if: github.event.ref_type == 'tag' steps: - name: Checkout repository uses: actions/checkout@v4 - name: Setup VS Dev Environment - uses: seanmiddleditch/gha-setup-vsdevenv@v4 + uses: compnerd/gha-setup-vsdevenv@v6 - name: Import gpg key id: import_gpg uses: crazy-max/ghaction-import-gpg@v6 @@ -43,6 +44,7 @@ jobs: build_Rakudo-Star_Linux_source: runs-on: ubuntu-latest + if: github.event.ref_type == 'tag' steps: - name: Checkout repository uses: actions/checkout@v4