-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1012 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: windows
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: env
shell: bash
run: |
env
- name: env (github)
shell: bash
run: |
set -x
env |
grep GITHUB_ |
perl -pe 's/^/export /' > "input-env"
/c/msys64/usr/bin/bash --noprofile --norc -eo pipefail ./test.sh
- name: env (bash)
shell: bash
run: |
/c/msys64/usr/bin/bash -eo pipefail -c 'env'
- name: env (norc)
shell: bash
run: |
PATH="/c/msys64/mingw64/bin:/c/msys64/usr/local/bin:/c/msys64/usr/bin:$PATH"
/c/msys64/usr/bin/bash --norc -eo pipefail -c 'env'
- name: env (noprofile, norc)
shell: bash
run: |
PATH="/c/msys64/mingw64/bin:/c/msys64/usr/local/bin:/c/msys64/usr/bin:$PATH"
/c/msys64/usr/bin/bash --noprofile --norc -eo pipefail -c 'env'