Skip to content

Commit 84f7ebf

Browse files
committed
Remove Multiple Repo tool setup
1 parent b22b328 commit 84f7ebf

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/actions/action.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ runs:
5050
sudo apt-get autoclean -y
5151
echo "Package cleanup complete"
5252
df -h
53-
sudo apt update
54-
sudo apt install -y python3 python-is-python3
55-
mkdir -p ./git-repo
56-
curl -sSL https://storage.googleapis.com/git-repo-downloads/repo > ./git-repo/repo
57-
chmod a+rx ./git-repo/repo
58-
echo "REPO=$GITHUB_WORKSPACE/./git-repo/repo" >> "$GITHUB_ENV"
59-
echo "CONFIG=${{ inputs.model }}" >> "$GITHUB_ENV"
6053
6154
- name: Install Dependencies
6255
shell: bash
@@ -67,14 +60,16 @@ runs:
6760
python3 git curl libelf-dev lld \
6861
build-essential flex bison libssl-dev \
6962
libncurses-dev liblz4-tool zlib1g-dev \
70-
libxml2-utils rsync unzip
63+
libxml2-utils rsync unzip python3 python-is-python3
7164
7265
- name: Install Repo Tool
7366
shell: bash
7467
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
68+
mkdir -p ./git-repo
69+
curl -sSL https://storage.googleapis.com/git-repo-downloads/repo > ./git-repo/repo
70+
chmod a+rx ./git-repo/repo
71+
echo "REPO=$GITHUB_WORKSPACE/./git-repo/repo" >> "$GITHUB_ENV"
72+
echo "CONFIG=${{ inputs.model }}" >> "$GITHUB_ENV"
7873
7974
- name: Clone AnyKernel3 and Other Dependencies
8075
shell: bash

0 commit comments

Comments
 (0)