mirror of
https://github.com/ilammy/msvc-dev-cmd.git
synced 2026-09-06 21:57:19 +08:00
Compare commits
3 Commits
v1.5.0
...
wip/path-test
| Author | SHA1 | Date | |
|---|---|---|---|
| ac2ceb2811 | |||
| cdfca13739 | |||
| aa2e60900e |
@@ -6,6 +6,7 @@ on:
|
||||
branches:
|
||||
- master
|
||||
- release/*
|
||||
- wip/path-test
|
||||
schedule:
|
||||
- cron: '0 6 * * *'
|
||||
|
||||
@@ -13,15 +14,19 @@ jobs:
|
||||
test:
|
||||
name: default
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Check out source code
|
||||
uses: actions/checkout@v1
|
||||
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: |
|
||||
@@ -29,9 +34,10 @@ jobs:
|
||||
hello.exe
|
||||
audit:
|
||||
name: npm audit
|
||||
if: false
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Check out source code
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
- run: npm install
|
||||
- run: npm audit --audit-level=moderate
|
||||
|
||||
@@ -11,13 +11,11 @@ jobs:
|
||||
test:
|
||||
name: release
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Setup Developer Command Prompt
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Check out source code
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
- name: Compile and run some C code
|
||||
shell: cmd
|
||||
run: |
|
||||
@@ -28,5 +26,5 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Check out source code
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v2
|
||||
- run: npm audit --audit-level=moderate
|
||||
|
||||
Reference in New Issue
Block a user