Skip to content

Commit 5624293

Browse files
committed
Merge branch 'breakup-workflows' into test-breakup-workflows
2 parents 4f730e8 + 401bb89 commit 5624293

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/actions/prepare-workflow/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ runs:
1313
- name: Setup environment
1414
shell: bash
1515
run: |
16-
sudo apt-get update
17-
sudo apt-get install -y software-properties-common jq
18-
apt-add-repository -y 'deb https://archive.debian.org/debian bullseye-backports main'
16+
if ! command -v jq &> /dev/null; then
17+
sudo apt-get update
18+
sudo apt-get install -y software-properties-common jq
19+
apt-add-repository -y 'deb https://archive.debian.org/debian bullseye-backports main'
20+
fi
1921
sudo chown -R testbot .
2022
sudo mkdir -p /home/testbot/.cache/buf
2123
sudo chown -R testbot:testbot /home/testbot/.cache

0 commit comments

Comments
 (0)