Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ecf2c64

Browse files
authored
Merge pull request #6765 from libgit2/ethomson/actions
build: update to latest actions versions
2 parents 47b7d72 + 58dfe64 commit ecf2c64

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ${{ matrix.platform.os }}
5555
steps:
5656
- name: Check out repository
57-
uses: actions/checkout@v3
57+
uses: actions/checkout@v4
5858
with:
5959
path: source
6060
fetch-depth: 0
@@ -79,7 +79,7 @@ jobs:
7979
../source/tests/benchmarks/benchmark.sh --baseline-cli "git" --cli "${GIT2_CLI}" --name libgit2 --json benchmarks.json --zip benchmarks.zip
8080
shell: bash
8181
- name: Upload results
82-
uses: actions/upload-artifact@v3
82+
uses: actions/upload-artifact@v4
8383
with:
8484
name: benchmark-${{ matrix.platform.id }}
8585
path: benchmark
@@ -93,7 +93,7 @@ jobs:
9393
runs-on: ubuntu-latest
9494
steps:
9595
- name: Check out benchmark repository
96-
uses: actions/checkout@v3
96+
uses: actions/checkout@v4
9797
with:
9898
repository: libgit2/benchmarks
9999
path: site

.github/workflows/build-containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
name: "Create container: ${{ matrix.container.name }}"
4545
steps:
4646
- name: Check out repository
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848
with:
4949
path: source
5050
fetch-depth: 0

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ jobs:
187187

188188
# All builds: experimental SHA256 support
189189
- name: "Linux (SHA256, Xenial, Clang, OpenSSL)"
190-
id: xenial-clang-openssl
190+
id: linux-sha256
191191
os: ubuntu-latest
192192
container:
193193
name: xenial
@@ -196,7 +196,7 @@ jobs:
196196
CMAKE_GENERATOR: Ninja
197197
CMAKE_OPTIONS: -DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON -DEXPERIMENTAL_SHA256=ON
198198
- name: "macOS (SHA256)"
199-
id: macos
199+
id: macos-sha256
200200
os: macos-12
201201
setup-script: osx
202202
env:
@@ -207,7 +207,7 @@ jobs:
207207
SKIP_SSH_TESTS: true
208208
SKIP_NEGOTIATE_TESTS: true
209209
- name: "Windows (SHA256, amd64, Visual Studio)"
210-
id: windows-amd64-vs
210+
id: windows-sha256
211211
os: windows-2019
212212
env:
213213
ARCH: amd64
@@ -221,7 +221,7 @@ jobs:
221221
name: "Build: ${{ matrix.platform.name }}"
222222
steps:
223223
- name: Check out repository
224-
uses: actions/checkout@v3
224+
uses: actions/checkout@v4
225225
with:
226226
path: source
227227
fetch-depth: 0
@@ -258,7 +258,7 @@ jobs:
258258
container-version: ${{ env.docker-registry-container-sha }}
259259
shell: ${{ matrix.platform.shell }}
260260
- name: Upload test results
261-
uses: actions/upload-artifact@v3
261+
uses: actions/upload-artifact@v4
262262
if: success() || failure()
263263
with:
264264
name: test-results-${{ matrix.platform.id }}
@@ -289,7 +289,7 @@ jobs:
289289
runs-on: ubuntu-latest
290290
steps:
291291
- name: Check out repository
292-
uses: actions/checkout@v3
292+
uses: actions/checkout@v4
293293
with:
294294
path: source
295295
fetch-depth: 0
@@ -316,7 +316,7 @@ jobs:
316316
cm doc api.docurium
317317
git checkout gh-pages
318318
zip --exclude .git/\* --exclude .gitignore --exclude .gitattributes -r api-documentation.zip .
319-
- uses: actions/upload-artifact@v3
319+
- uses: actions/upload-artifact@v4
320320
name: Upload artifact
321321
with:
322322
name: api-documentation

.github/workflows/nightly.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ jobs:
322322

323323
# All builds: experimental SHA256 support
324324
- name: "Linux (SHA256, Xenial, Clang, OpenSSL)"
325-
id: xenial-clang-openssl
325+
id: linux-sha256
326326
container:
327327
name: xenial
328328
env:
@@ -331,7 +331,7 @@ jobs:
331331
CMAKE_OPTIONS: -DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DUSE_SSH=ON
332332
os: ubuntu-latest
333333
- name: "macOS (SHA256)"
334-
id: macos
334+
id: macos-sha256
335335
os: macos-12
336336
setup-script: osx
337337
env:
@@ -341,7 +341,7 @@ jobs:
341341
SKIP_SSH_TESTS: true
342342
SKIP_NEGOTIATE_TESTS: true
343343
- name: "Windows (SHA256, amd64, Visual Studio)"
344-
id: windows-amd64-vs
344+
id: windows-sha256
345345
os: windows-2019
346346
env:
347347
ARCH: amd64
@@ -355,7 +355,7 @@ jobs:
355355
name: "Build ${{ matrix.platform.name }}"
356356
steps:
357357
- name: Check out repository
358-
uses: actions/checkout@v3
358+
uses: actions/checkout@v4
359359
with:
360360
path: source
361361
fetch-depth: 0
@@ -392,7 +392,7 @@ jobs:
392392
container-version: ${{ env.docker-registry-container-sha }}
393393
shell: ${{ matrix.platform.shell }}
394394
- name: Upload test results
395-
uses: actions/upload-artifact@v3
395+
uses: actions/upload-artifact@v4
396396
if: success() || failure()
397397
with:
398398
name: test-results-${{ matrix.platform.id }}
@@ -420,7 +420,7 @@ jobs:
420420
runs-on: ubuntu-latest
421421
steps:
422422
- name: Check out repository
423-
uses: actions/checkout@v3
423+
uses: actions/checkout@v4
424424
with:
425425
path: source
426426
fetch-depth: 0
@@ -451,7 +451,7 @@ jobs:
451451
runs-on: ubuntu-latest
452452
steps:
453453
- name: Check out repository
454-
uses: actions/checkout@v3
454+
uses: actions/checkout@v4
455455
with:
456456
fetch-depth: 0
457457

0 commit comments

Comments
 (0)