mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Update GH actions (#321)
This commit is contained in:
parent
f31e18a1f1
commit
a9dc4a066b
14
.github/workflows/build-deploy-docs.yml
vendored
14
.github/workflows/build-deploy-docs.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
name: Build
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
- name: Install mdbook
|
||||
@ -31,11 +31,11 @@ jobs:
|
||||
- name: API Documentation
|
||||
shell: bash
|
||||
run: cargo doc -p maplibre --no-deps --lib --document-private-items
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: api-docs
|
||||
path: target/doc/
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: book
|
||||
path: docs/book/
|
||||
@ -45,19 +45,19 @@ jobs:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Download api-docs
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: api-docs
|
||||
path: artifacts/api
|
||||
- name: Download book
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: book
|
||||
path: artifacts/book
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
uses: JamesIves/github-pages-deploy-action@v4.6.8
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: artifacts
|
||||
|
||||
4
.github/workflows/demo-linux.yml
vendored
4
.github/workflows/demo-linux.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
name: Build
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
@ -24,7 +24,7 @@ jobs:
|
||||
- name: Test x86_64 linux
|
||||
shell: bash
|
||||
run: just test maplibre-demo x86_64-unknown-linux-gnu
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: maplibre-rs
|
||||
path: target/x86_64-unknown-linux-gnu/release/maplibre-demo
|
||||
|
||||
4
.github/workflows/demo-macos.yml
vendored
4
.github/workflows/demo-macos.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
name: Build
|
||||
runs-on: macos-12
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
@ -24,7 +24,7 @@ jobs:
|
||||
- name: Test x86_64 darwin
|
||||
shell: bash
|
||||
run: just test maplibre-demo x86_64-apple-darwin
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: maplibre-x86_64-apple-darwin-demo
|
||||
path: apple/xcode/build/Build/Products/Debug/*.app
|
||||
|
||||
4
.github/workflows/demo-windows.yml
vendored
4
.github/workflows/demo-windows.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
- name: Show bash PATH
|
||||
shell: bash
|
||||
run: echo $PATH
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
- name: Test x86_64 windows
|
||||
shell: powershell
|
||||
run: just test maplibre-demo x86_64-pc-windows-msvc
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: maplibre-x86_64-windows-demo
|
||||
path: target/x86_64-pc-windows-msvc/release/maplibre-demo.exe
|
||||
|
||||
2
.github/workflows/library-android.yml
vendored
2
.github/workflows/library-android.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
name: Build
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
|
||||
14
.github/workflows/library-apple.yml
vendored
14
.github/workflows/library-apple.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
platform: iOS Simulator
|
||||
name: Build ${{ matrix.name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
if: ${{ matrix.fat-arch }}
|
||||
shell: bash
|
||||
run: just xcodebuild-archive-fat ${{ matrix.arch }} "${{ matrix.platform }}" ${{ matrix.fat-arch }}
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.name }}
|
||||
path: apple/build/*.xcarchive
|
||||
@ -73,7 +73,7 @@ jobs:
|
||||
name: Test XCode project
|
||||
runs-on: macos-12
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
@ -90,21 +90,21 @@ jobs:
|
||||
needs:
|
||||
- library-apple
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
- name: Download fat-aarch64-x86_64-apple-darwin
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: fat-aarch64-x86_64-apple-darwin
|
||||
path: apple/build/
|
||||
- name: Download aarch64-apple-ios
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: aarch64-apple-ios
|
||||
path: apple/build/
|
||||
- name: Download aarch64-apple-ios-sim
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: aarch64-apple-ios-sim
|
||||
path: apple/build/
|
||||
|
||||
8
.github/workflows/library-web.yml
vendored
8
.github/workflows/library-web.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
name: Build
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: just web-test "web-webgl"
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.name }}
|
||||
path: web/demo/dist/
|
||||
@ -65,8 +65,8 @@ jobs:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ inputs.name }}
|
||||
path: demo
|
||||
|
||||
2
.github/workflows/run-benchmarks.yml
vendored
2
.github/workflows/run-benchmarks.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
name: Benchmark
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
|
||||
2
.github/workflows/run-checks.yml
vendored
2
.github/workflows/run-checks.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
name: Check
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
- name: Format
|
||||
|
||||
2
.github/workflows/run-tests.yml
vendored
2
.github/workflows/run-tests.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
name: Test
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user