name: msvc-dev-cmd on: pull_request: push: branches: - master - release/* - wip/path-test schedule: - cron: '0 6 * * *' jobs: test: name: default runs-on: windows-latest steps: - name: Check out source code uses: actions/checkout@v2 - name: Download Internet run: npm install - name: What's in the env? shell: cmd run: set - name: Enable Developer Command Prompt uses: ./ - name: What's in the env now? shell: cmd run: set - name: Compile and run some C code shell: cmd run: | cl.exe hello.c hello.exe audit: name: npm audit if: false runs-on: windows-latest steps: - name: Check out source code uses: actions/checkout@v2 - run: npm install - run: npm audit --audit-level=moderate