Skip to content

Commit 9cbe26f

Browse files
committed
Try fix checkout
1 parent 5c2eef8 commit 9cbe26f

File tree

5 files changed

+30
-3
lines changed

5 files changed

+30
-3
lines changed

.github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ jobs:
110110
options: --user root --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE
111111

112112
steps:
113+
- name: "Checkout dependencies"
114+
shell: bash
115+
run: |
116+
gpg --import /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
117+
tdnf -y update
118+
tdnf -y install ca-certificates git
119+
113120
- uses: actions/checkout@v4
114121
with:
115122
fetch-depth: 0

.github/workflows/long-test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,13 @@ jobs:
288288
options: --user root --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE
289289

290290
steps:
291+
- name: "Checkout dependencies"
292+
shell: bash
293+
run: |
294+
gpg --import /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
295+
tdnf -y update
296+
tdnf -y install ca-certificates git
297+
291298
- uses: actions/checkout@v4
292299
with:
293300
fetch-depth: 0

.github/workflows/release-test.yml

+8
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ jobs:
9696
options: "--user root --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE"
9797

9898
steps:
99+
- name: "Checkout dependencies"
100+
if: ${{ matrix.platform.os == 'azure-linux' }}
101+
shell: bash
102+
run: |
103+
gpg --import /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
104+
tdnf -y update
105+
tdnf -y install ca-certificates git
106+
99107
- uses: actions/checkout@v4
100108
with:
101109
fetch-depth: 0

.github/workflows/release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ jobs:
9292
options: "--user root --publish-all --cap-add NET_ADMIN --cap-add NET_RAW --cap-add SYS_PTRACE"
9393

9494
steps:
95+
- name: "Checkout dependencies"
96+
if: ${{ matrix.platform.os == 'azure-linux' }}
97+
shell: bash
98+
run: |
99+
gpg --import /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
100+
tdnf -y update
101+
tdnf -y install ca-certificates git
102+
95103
- uses: actions/checkout@v4
96104
with:
97105
fetch-depth: 0

scripts/install-azure-linux-deps.sh

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
set -ex
66

7-
gpg --import /etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
8-
tdnf -y update
9-
107
# Source control
118
tdnf -y install ca-certificates git
129

0 commit comments

Comments
 (0)