Skip to content

Commit eed5cd9

Browse files
committed
Fix Broken Pipe in actions
1 parent d242d4a commit eed5cd9

File tree

4 files changed

+4
-67
lines changed

4 files changed

+4
-67
lines changed

.github/actions/target-aarch64-linux-gnu/action.yml

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -9,64 +9,9 @@ runs:
99
run: sudo apt-get install -y gcc-aarch64-linux-gnu
1010

1111
- name: Set-up aarch64 cross-compilation
12-
shell: bash
12+
shell: bash --noprofile --norc -e {0}
1313
run: |
1414
mkdir -p $HOME/.ldc/
15-
- name: Set-up aarch64 cross-compilation
16-
shell: bash
17-
run: |
18-
ldc2 --version
19-
- name: Set-up aarch64 cross-compilation
20-
shell: bash
21-
run: |
22-
ldc2 --version
23-
- name: Set-up aarch64 cross-compilation
24-
shell: bash
25-
run: |
26-
ldc2 --version
27-
- name: Set-up aarch64 cross-compilation
28-
shell: bash
29-
run: |
30-
ldc2 --version
31-
- name: Set-up aarch64 cross-compilation
32-
shell: bash
33-
run: |
34-
ldc2 --version
35-
- name: Set-up aarch64 cross-compilation
36-
shell: bash
37-
run: |
38-
ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*"
39-
- name: Set-up aarch64 cross-compilation
40-
shell: bash
41-
run: |
42-
ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*"
43-
- name: Set-up aarch64 cross-compilation
44-
shell: bash
45-
run: |
46-
ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*"
47-
- name: Set-up aarch64 cross-compilation
48-
shell: bash
49-
run: |
50-
ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*"
51-
- name: Set-up aarch64 cross-compilation
52-
shell: bash
53-
run: |
54-
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
55-
- name: Set-up aarch64 cross-compilation
56-
shell: bash
57-
run: |
58-
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
59-
- name: Set-up aarch64 cross-compilation
60-
shell: bash
61-
run: |
62-
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
63-
- name: Set-up aarch64 cross-compilation
64-
shell: bash
65-
run: |
66-
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
67-
- name: Set-up aarch64 cross-compilation
68-
shell: bash
69-
run: |
7015
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
7116
cat << EOF | tee $HOME/.ldc/ldc2.conf
7217
"aarch64-.*-linux-gnu":
@@ -83,13 +28,5 @@ runs:
8328
];
8429
};
8530
EOF
86-
- name: Set-up aarch64 cross-compilation
87-
shell: bash
88-
run: |
89-
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
9031
curl -LO https://github.com/ldc-developers/ldc/releases/download/v$LDC_VERSION/ldc2-$LDC_VERSION-linux-aarch64.tar.xz
91-
- name: Set-up aarch64 cross-compilation
92-
shell: bash
93-
run: |
94-
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")
9532
tar -xf ./ldc2-$LDC_VERSION-linux-aarch64.tar.xz -C $HOME

.github/actions/target-arm64-apple-macos/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
run: sudo apt-get install -y clang lld
1010

1111
- name: Set-up macOS cross-compilation
12-
shell: bash
12+
shell: bash --noprofile --norc -e {0}
1313
run: |
1414
mkdir -p $HOME/.ldc/
1515
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")

.github/actions/target-x86_64-apple-darwin/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
run: sudo apt-get install -y clang lld
1010

1111
- name: Set-up macOS cross-compilation
12-
shell: bash
12+
shell: bash --noprofile --norc -e {0}
1313
run: |
1414
mkdir -p $HOME/.ldc/
1515
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")

.github/actions/target-x86_64-windows-msvc/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
run: sudo apt-get install -y clang lld 7zip
1010

1111
- name: Set-up Windows cross-compilation
12-
shell: bash
12+
shell: bash --noprofile --norc -e {0}
1313
run: |
1414
mkdir -p $HOME/.ldc/
1515
LDC_VERSION=$(ldc2 --version | head -n 1 | grep -oE "[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*")

0 commit comments

Comments
 (0)