Skip to content

Commit

Permalink
Update build_rakudo-star.yml
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
AntonOks authored Mar 17, 2024
1 parent c3a3a4f commit d5dc413
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_rakudo-star.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d5dc413

Please sign in to comment.