Fix build under act

pull/365/head
Dmitry Ilyin 2022-08-18 10:28:24 +03:00
parent 6fc26674e6
commit 8f766f6a1e
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ jobs:
- name: Install build dependencies - name: Install build dependencies
if: env.NEEDED if: env.NEEDED
run: | run: |
make install-deps
if [ ! -z "$ACT" ]; then if [ ! -z "$ACT" ]; then
apt install -y cpio rsync bc
echo "FORCE_UNSAFE_CONFIGURE=1" >> $GITHUB_ENV echo "FORCE_UNSAFE_CONFIGURE=1" >> $GITHUB_ENV
else else
# https://github.com/actions/runner-images/issues/2577 # https://github.com/actions/runner-images/issues/2577
@ -168,9 +168,9 @@ jobs:
- name: Install build dependencies - name: Install build dependencies
run: | run: |
make install-deps
ls -l deps || true ls -l deps || true
if [ ! -z "$ACT" ]; then if [ ! -z "$ACT" ]; then
apt install -y cpio rsync bc
echo "FORCE_UNSAFE_CONFIGURE=1" >> $GITHUB_ENV echo "FORCE_UNSAFE_CONFIGURE=1" >> $GITHUB_ENV
else else
# https://github.com/actions/runner-images/issues/2577 # https://github.com/actions/runner-images/issues/2577