Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GH actions #321

Merged
merged 2 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/demo-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 changes: 2 additions & 2 deletions .github/workflows/demo-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/demo-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/library-apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/library-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading