Run VS build on PRs and each push
authorMiodrag Milanović <mmicko@gmail.com>
Thu, 20 May 2021 17:21:34 +0000 (19:21 +0200)
committerGitHub <noreply@github.com>
Thu, 20 May 2021 17:21:34 +0000 (19:21 +0200)
.github/workflows/vs.yml

index 12b0cf00340549ddd8d1d34e3cefede54dd5430a..a48821cf803ab0e40c9517764990ec2803ab08c0 100644 (file)
@@ -1,15 +1,12 @@
 name: Visual Studio Build
 
-on:
-  workflow_dispatch:
+on: [push, pull_request]
 
 jobs:
   yosys-vcxsrc:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
-        with:
-          ref: 'master'
       - name: Cache sources
         id: cache-sources
         uses: actions/cache@v2