From 16e7e8cf1d74fedf075a14ca83039f3701494769 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Thu, 7 Sep 2023 14:15:37 +0200 Subject: [PATCH] Try to work with act as well as github actions Link: https://github.com/nektos/act/issues/269#issuecomment-875976242 --- .github/workflows/update.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 097c407..2d9cf40 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -9,6 +9,9 @@ jobs: update: runs-on: ubuntu-latest steps: + - run: apt-get update && apt-get install --assume-yes --no-install-recommends sudo + name: Install sudo for act + if: env.ACT=='true' - name: Install emacs run: sudo apt-get install --assume-yes --no-install-recommends emacs - uses: actions/checkout@v3