From d75a9058a41cd71fac452e0c1fd40e53153eb6f3 Mon Sep 17 00:00:00 2001 From: Nadezhda Fedorova Date: Wed, 10 Apr 2024 16:59:23 +0300 Subject: [PATCH] add action --- README.md | 4 ++++ action.yml | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 README.md create mode 100644 action.yml diff --git a/README.md b/README.md new file mode 100644 index 0000000..617827d --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Init Alt Environment + +- use it to install other dependencies in your workflow later +- it just update apt and rpm diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..c1b51a2 --- /dev/null +++ b/action.yml @@ -0,0 +1,11 @@ +# action.yml +name: 'Init Alt Environment' +description: 'Update and install package manager' +runs: + using: 'composite' + steps: + - name: Update and install apt rpm + run: | + echo "apt-get update -y && apt-get install -y apt rpm" + apt-get update -y && apt-get install -y apt rpm +