From: Iker Pedrosa Date: Mon, 9 May 2022 14:17:57 +0000 (+0200) Subject: CI: create Github workflow to install dependencies X-Git-Tag: 4.12~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d5705e4a07d1cf59c27f53e3b290a71193fbc5;p=thirdparty%2Fshadow.git CI: create Github workflow to install dependencies Signed-off-by: Iker Pedrosa --- diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml new file mode 100644 index 000000000..738268fec --- /dev/null +++ b/.github/actions/install-dependencies/action.yml @@ -0,0 +1,12 @@ +name: 'Install dependencies' +description: 'Install dependencies to build shadow-utils' +runs: + using: "composite" + steps: + - shell: bash + run: | + sudo apt-get update -y + sudo apt-get install -y ubuntu-dev-tools + sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list + sudo apt-get update -y + sudo apt-get -y build-dep shadow