File tree Expand file tree Collapse file tree 6 files changed +2
-69
lines changed Expand file tree Collapse file tree 6 files changed +2
-69
lines changed Original file line number Diff line number Diff line change @@ -142,13 +142,6 @@ jobs:
142
142
secretKey : ${{ secrets.CACHE_SECRET_KEY }}
143
143
bucket : ${{ steps.ltp.outputs.init_cache_bucket }}
144
144
145
- - name : Install missing python3-yaml on private runners
146
- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
147
- shell : bash
148
- run : |
149
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
150
- sudo apt-get -qq install python3-yaml
151
-
152
145
- name : Obfuscate _custom yaml
153
146
if : always()
154
147
shell : python
@@ -1715,17 +1708,6 @@ jobs:
1715
1708
if : ${{ always() && needs.init.outputs.actionlint_skip != 'true' }}
1716
1709
runs-on : ${{ fromJSON(inputs.runs_on) }}
1717
1710
steps :
1718
- - name : Install npm on private runner
1719
- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
1720
- run : |
1721
- NPM=$(type -p 'npm'||true)
1722
- PIPX=$(type -p 'pipx'||true)
1723
- if [ -z "${NPM}" ] || [ -z "${PIPX}" ]; then
1724
- echo -e "\033[0;35m### Installing npm, shellcheck, pipx ###\033[0m"
1725
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
1726
- sudo apt-get -qq install npm shellcheck pipx python3-venv
1727
- fi
1728
-
1729
1711
- name : Checkout
1730
1712
id : checkout
1731
1713
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -142,13 +142,6 @@ jobs:
142
142
secretKey : ${{ secrets.CACHE_SECRET_KEY }}
143
143
bucket : ${{ steps.ltp.outputs.init_cache_bucket }}
144
144
145
- - name : Install missing python3-yaml on private runners
146
- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
147
- shell : bash
148
- run : |
149
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
150
- sudo apt-get -qq install python3-yaml
151
-
152
145
- name : Obfuscate _custom yaml
153
146
if : always()
154
147
shell : python
@@ -1715,17 +1708,6 @@ jobs:
1715
1708
if : ${{ always() && needs.init.outputs.actionlint_skip != 'true' }}
1716
1709
runs-on : ${{ fromJSON(inputs.runs_on) }}
1717
1710
steps :
1718
- - name : Install npm on private runner
1719
- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
1720
- run : |
1721
- NPM=$(type -p 'npm'||true)
1722
- PIPX=$(type -p 'pipx'||true)
1723
- if [ -z "${NPM}" ] || [ -z "${PIPX}" ]; then
1724
- echo -e "\033[0;35m### Installing npm, shellcheck, pipx ###\033[0m"
1725
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
1726
- sudo apt-get -qq install npm shellcheck pipx python3-venv
1727
- fi
1728
-
1729
1711
- name : Checkout
1730
1712
id : checkout
1731
1713
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -169,13 +169,6 @@ jobs:
169
169
${{ inputs.plan_folder }}/*
170
170
key : ' ${{ steps.ltp.outputs.init_cache_name }}'
171
171
172
- - name : Install missing python3-yaml on private runners
173
- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
174
- shell : bash
175
- run : |
176
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
177
- sudo apt-get -qq install python3-yaml
178
-
179
172
- name : Obfuscate _custom yaml
180
173
if : always()
181
174
shell : python
Original file line number Diff line number Diff line change @@ -169,13 +169,6 @@ jobs:
169
169
${{ inputs.plan_folder }}/*
170
170
key : ' ${{ steps.ltp.outputs.init_cache_name }}'
171
171
172
- - name : Install missing python3-yaml on private runners
173
- if : ${{ inputs.runs_on != '"ubuntu-latest"'}}
174
- shell : bash
175
- run : |
176
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
177
- sudo apt-get -qq install python3-yaml
178
-
179
172
- name : Obfuscate _custom yaml
180
173
if : always()
181
174
shell : python
Original file line number Diff line number Diff line change @@ -34,24 +34,12 @@ inputs:
34
34
runs :
35
35
using : composite
36
36
steps :
37
- - name : Install s3cmd and gh
37
+ - name : Install gh-actions-cache and configure s3cmd
38
38
shell : bash
39
39
run : |
40
- # clean_cache: Install s3cmd and gh
40
+ # clean_cache: Install gh-actions-cache and configure s3cmd
41
41
GH=$(type -p 'gh'||true)
42
- if [ -z "${GH}" ]; then
43
- echo -e "\033[0;35m### Installing gh ###\033[0m"
44
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
45
- sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
46
- ARCH=$(dpkg --print-architecture)
47
- echo "deb [arch=${ARCH} signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" |\
48
- sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null
49
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update
50
- sudo apt-get -qq install gh
51
- GH=$(type -p 'gh'||true)
52
- fi
53
42
${GH} extension install actions/gh-actions-cache
54
- sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install s3cmd
55
43
if [[ '${{ inputs.runs_on }}' != *"ubuntu"* ]]; then
56
44
cat >/home/runner/.s3cfg <<EOF
57
45
[default]
Original file line number Diff line number Diff line change 45
45
# shellcheck disable=SC2086
46
46
47
47
YL=$(type -p 'yamllint'||true)
48
- if [ -z "${YL}" ]; then
49
- echo -e "\033[0;35m### Installing yamllint ###\033[0m"
50
- sudo apt-get update
51
- sudo apt-get -qq install yamllint
52
- fi
53
48
set -o pipefail
54
49
if [[ -z "$LOGFILE" ]]; then
55
50
LOGFILE=$(mktemp yamllint-XXXXXX)
You can’t perform that action at this time.
0 commit comments