File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,28 @@ jobs:
1212 runs-on : windows-latest
1313 steps :
1414 - uses : actions/checkout@v2
15- - run : |
16- npm install
17- - run : |
18- npm run all
15+ - run : npm ci
16+ - run : npm run build
17+ - run : npm run test
1918 test : # make sure the action works on a clean machine without building
2019 runs-on : windows-latest
2120 steps :
2221 - uses : actions/checkout@v2
23- - uses : ./
22+ - name : Run this Action in-place
23+ uses : ./
24+ - name : Verify that the Bash of Git for Windows' SDK is used
25+ shell : bash
26+ run : |
27+ set -x
28+ echo "This is the MSYS2 pseudo root: $(cygpath -aw /)"
29+ printf '%s\n' \
30+ "#include <stdio.h>" \
31+ '' \
32+ 'int main()' \
33+ '{' \
34+ ' printf("Hello, world!\n");' \
35+ ' return 0;' \
36+ '}' >hello-world.c
37+ gcc -o hello-world.exe hello-world.c
38+ hello="$(./hello-world.exe)"
39+ test 'Hello, world!' = "$hello"
You can’t perform that action at this time.
0 commit comments