Skip to content

Commit de4e119

Browse files
authored
temporary hotfix for GitHub Actions disabling set-env (#2031)
* temporary hotfix for #2009 * also for add-path
1 parent a6b188b commit de4e119

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ jobs:
118118
export CFLAGS="${CFLAGS} -m32"
119119
echo "::set-env name=CFLAGS::$CFLAGS"
120120
fi
121+
env:
122+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
121123

122124
- name: Install build dependencies (Linux i386)
123125
if: runner.os == 'Linux' && matrix.target.cpu == 'i386'
@@ -137,6 +139,8 @@ jobs:
137139
EOF
138140
chmod 755 external/bin/gcc external/bin/g++
139141
echo '::add-path::${{ github.workspace }}/external/bin'
142+
env:
143+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
140144

141145
- name: Restore MinGW-W64 (Windows) from cache
142146
if: runner.os == 'Windows'
@@ -182,6 +186,8 @@ jobs:
182186
run: |
183187
echo '::add-path::${{ github.workspace }}'"/external/mingw-${{ matrix.target.cpu }}/bin"
184188
echo '::add-path::${{ github.workspace }}'"/external/dlls-${{ matrix.target.cpu }}"
189+
env:
190+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
185191

186192
- name: Install build dependencies (MacOS)
187193
if: runner.os == 'macOS'

0 commit comments

Comments
 (0)