Skip to content

Commit 2ead2b6

Browse files
authored
Merge pull request #766 from mavlink/dependabot/github_actions/github-actions-8a9da2b879
Bump actions/checkout from 1 to 4 in the github-actions group
2 parents 28eed68 + 74dbcd1 commit 2ead2b6

File tree

1 file changed

+12
-28
lines changed

1 file changed

+12
-28
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ jobs:
1515
name: Ubuntu 22.04 x86_64
1616
runs-on: ubuntu-22.04
1717
steps:
18-
- uses: actions/checkout@v1
18+
- uses: actions/checkout@v4
1919
with:
2020
submodules: recursive
21-
22-
- name: Get tags
23-
run: |
24-
git fetch --tags
25-
echo $?
26-
git tag --list
21+
tags: true
22+
fetch-depth: 0
2723

2824
- name: Install pip
2925
run: sudo apt-get install -y python3-pip
@@ -91,15 +87,11 @@ jobs:
9187
pypi_arch: manylinux2014_aarch64
9288

9389
steps:
94-
- uses: actions/checkout@v1
90+
- uses: actions/checkout@v4
9591
with:
9692
submodules: recursive
97-
98-
- name: Get tags
99-
run: |
100-
git fetch --tags
101-
echo $?
102-
git tag --list
93+
tags: true
94+
fetch-depth: 0
10395

10496
- name: Install pip
10597
run: sudo apt-get install -y python3-pip
@@ -142,15 +134,11 @@ jobs:
142134
wheel_arch: 11_0_arm64
143135
runs_on: macos-14
144136
steps:
145-
- uses: actions/checkout@v1
137+
- uses: actions/checkout@v4
146138
with:
147139
submodules: recursive
148-
149-
- name: Get tags
150-
run: |
151-
git fetch --tags
152-
echo $?
153-
git tag --list
140+
tags: true
141+
fetch-depth: 0
154142

155143
- name: Set up Python
156144
uses: actions/setup-python@v5
@@ -197,15 +185,11 @@ jobs:
197185
wheel_arch: win_amd64
198186

199187
steps:
200-
- uses: actions/checkout@v1
188+
- uses: actions/checkout@v4
201189
with:
202190
submodules: recursive
203-
204-
- name: Get tags
205-
run: |
206-
git fetch --tags
207-
echo $?
208-
git tag --list
191+
tags: true
192+
fetch-depth: 0
209193

210194
- name: Set up Python
211195
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)