Skip to content

Commit 064f0c7

Browse files
committed
Fix: Re-order steps
1 parent e31e029 commit 064f0c7

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/actions/action.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,6 @@ inputs:
3434
runs:
3535
using: "composite"
3636
steps:
37-
- name: Install Dependencies
38-
shell: bash
39-
run: |
40-
sudo rm -f /var/lib/apt/lists/lock /var/lib/dpkg/lock
41-
sudo apt update -qq
42-
sudo DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends \
43-
python3 git curl libelf-dev lld \
44-
build-essential flex bison libssl-dev \
45-
libncurses-dev liblz4-tool zlib1g-dev \
46-
libxml2-utils rsync unzip
47-
48-
- name: Install Repo Tool
49-
shell: bash
50-
run: |
51-
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/repo
52-
chmod a+x ~/repo
53-
sudo mv ~/repo /usr/local/bin/repo
54-
5537
- name: Setup Build System
5638
shell: bash
5739
run: |
@@ -76,6 +58,24 @@ runs:
7658
echo "REPO=$GITHUB_WORKSPACE/./git-repo/repo" >> "$GITHUB_ENV"
7759
echo "CONFIG=${{ inputs.model }}" >> "$GITHUB_ENV"
7860
61+
- name: Install Dependencies
62+
shell: bash
63+
run: |
64+
sudo rm -f /var/lib/apt/lists/lock /var/lib/dpkg/lock
65+
sudo apt update -qq
66+
sudo DEBIAN_FRONTEND=noninteractive apt install -yq --no-install-recommends \
67+
python3 git curl libelf-dev lld \
68+
build-essential flex bison libssl-dev \
69+
libncurses-dev liblz4-tool zlib1g-dev \
70+
libxml2-utils rsync unzip
71+
72+
- name: Install Repo Tool
73+
shell: bash
74+
run: |
75+
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/repo
76+
chmod a+x ~/repo
77+
sudo mv ~/repo /usr/local/bin/repo
78+
7979
- name: Clone AnyKernel3 and Other Dependencies
8080
shell: bash
8181
run: |

0 commit comments

Comments
 (0)