Skip to content

Commit a9dc4a0

Browse files
authored
Update GH actions (#321)
1 parent f31e18a commit a9dc4a0

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

.github/workflows/build-deploy-docs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Build
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Setup
1818
uses: ./.github/actions/setup
1919
- name: Install mdbook
@@ -31,11 +31,11 @@ jobs:
3131
- name: API Documentation
3232
shell: bash
3333
run: cargo doc -p maplibre --no-deps --lib --document-private-items
34-
- uses: actions/upload-artifact@v3
34+
- uses: actions/upload-artifact@v4
3535
with:
3636
name: api-docs
3737
path: target/doc/
38-
- uses: actions/upload-artifact@v3
38+
- uses: actions/upload-artifact@v4
3939
with:
4040
name: book
4141
path: docs/book/
@@ -45,19 +45,19 @@ jobs:
4545
name: Deploy
4646
runs-on: ubuntu-22.04
4747
steps:
48-
- uses: actions/checkout@v3
48+
- uses: actions/checkout@v4
4949
- name: Download api-docs
50-
uses: actions/download-artifact@v3
50+
uses: actions/download-artifact@v4
5151
with:
5252
name: api-docs
5353
path: artifacts/api
5454
- name: Download book
55-
uses: actions/download-artifact@v3
55+
uses: actions/download-artifact@v4
5656
with:
5757
name: book
5858
path: artifacts/book
5959
- name: Deploy
60-
uses: JamesIves/github-pages-deploy-action@v4.3.3
60+
uses: JamesIves/github-pages-deploy-action@v4.6.8
6161
with:
6262
branch: gh-pages
6363
folder: artifacts

.github/workflows/demo-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Build
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup
1313
uses: ./.github/actions/setup
1414
with:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Test x86_64 linux
2525
shell: bash
2626
run: just test maplibre-demo x86_64-unknown-linux-gnu
27-
- uses: actions/upload-artifact@v3
27+
- uses: actions/upload-artifact@v4
2828
with:
2929
name: maplibre-rs
3030
path: target/x86_64-unknown-linux-gnu/release/maplibre-demo

.github/workflows/demo-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Build
99
runs-on: macos-12
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup
1313
uses: ./.github/actions/setup
1414
with:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Test x86_64 darwin
2525
shell: bash
2626
run: just test maplibre-demo x86_64-apple-darwin
27-
- uses: actions/upload-artifact@v3
27+
- uses: actions/upload-artifact@v4
2828
with:
2929
name: maplibre-x86_64-apple-darwin-demo
3030
path: apple/xcode/build/Build/Products/Debug/*.app

.github/workflows/demo-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Show bash PATH
2323
shell: bash
2424
run: echo $PATH
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Setup
2727
uses: ./.github/actions/setup
2828
with:
@@ -38,7 +38,7 @@ jobs:
3838
- name: Test x86_64 windows
3939
shell: powershell
4040
run: just test maplibre-demo x86_64-pc-windows-msvc
41-
- uses: actions/upload-artifact@v3
41+
- uses: actions/upload-artifact@v4
4242
with:
4343
name: maplibre-x86_64-windows-demo
4444
path: target/x86_64-pc-windows-msvc/release/maplibre-demo.exe

.github/workflows/library-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Build
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup
1313
uses: ./.github/actions/setup
1414
with:

.github/workflows/library-apple.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
platform: iOS Simulator
3030
name: Build ${{ matrix.name }}
3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- name: Setup
3434
uses: ./.github/actions/setup
3535
with:
@@ -49,7 +49,7 @@ jobs:
4949
if: ${{ matrix.fat-arch }}
5050
shell: bash
5151
run: just xcodebuild-archive-fat ${{ matrix.arch }} "${{ matrix.platform }}" ${{ matrix.fat-arch }}
52-
- uses: actions/upload-artifact@v3
52+
- uses: actions/upload-artifact@v4
5353
with:
5454
name: ${{ matrix.name }}
5555
path: apple/build/*.xcarchive
@@ -73,7 +73,7 @@ jobs:
7373
name: Test XCode project
7474
runs-on: macos-12
7575
steps:
76-
- uses: actions/checkout@v3
76+
- uses: actions/checkout@v4
7777
- name: Setup
7878
uses: ./.github/actions/setup
7979
with:
@@ -90,21 +90,21 @@ jobs:
9090
needs:
9191
- library-apple
9292
steps:
93-
- uses: actions/checkout@v3
93+
- uses: actions/checkout@v4
9494
- name: Setup
9595
uses: ./.github/actions/setup
9696
- name: Download fat-aarch64-x86_64-apple-darwin
97-
uses: actions/download-artifact@v3
97+
uses: actions/download-artifact@v4
9898
with:
9999
name: fat-aarch64-x86_64-apple-darwin
100100
path: apple/build/
101101
- name: Download aarch64-apple-ios
102-
uses: actions/download-artifact@v3
102+
uses: actions/download-artifact@v4
103103
with:
104104
name: aarch64-apple-ios
105105
path: apple/build/
106106
- name: Download aarch64-apple-ios-sim
107-
uses: actions/download-artifact@v3
107+
uses: actions/download-artifact@v4
108108
with:
109109
name: aarch64-apple-ios-sim
110110
path: apple/build/

.github/workflows/library-web.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: Build
2727
runs-on: ubuntu-22.04
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
- name: Setup
3131
uses: ./.github/actions/setup
3232
with:
@@ -54,7 +54,7 @@ jobs:
5454
- name: Test
5555
shell: bash
5656
run: just web-test "web-webgl"
57-
- uses: actions/upload-artifact@v3
57+
- uses: actions/upload-artifact@v4
5858
with:
5959
name: ${{ inputs.name }}
6060
path: web/demo/dist/
@@ -65,8 +65,8 @@ jobs:
6565
name: Deploy
6666
runs-on: ubuntu-22.04
6767
steps:
68-
- uses: actions/checkout@v3
69-
- uses: actions/download-artifact@v3
68+
- uses: actions/checkout@v4
69+
- uses: actions/download-artifact@v4
7070
with:
7171
name: ${{ inputs.name }}
7272
path: demo

.github/workflows/run-benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Benchmark
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup
1313
uses: ./.github/actions/setup
1414
with:

.github/workflows/run-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Check
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup
1313
uses: ./.github/actions/setup
1414
- name: Format

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Test
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup
1313
uses: ./.github/actions/setup
1414
with:

0 commit comments

Comments
 (0)