Update github actions, and add dependabot to keep track of them (#387)
* dependabot for github actions * Update github actions * update ubuntu version from deprecated 18 * keep ubuntu 20
This commit is contained in:
11
.github/dependabot.yml
vendored
Normal file
11
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: 'github-actions'
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: 'daily'
|
||||
10
.github/workflows/android-ci-pull.yml
vendored
10
.github/workflows/android-ci-pull.yml
vendored
@@ -52,13 +52,13 @@ jobs:
|
||||
MBGL_ANDROID_STL: c++_static
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
ccache --show-stats
|
||||
|
||||
- name: restore-gradle-cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: gradle-v1
|
||||
with:
|
||||
@@ -117,7 +117,7 @@ jobs:
|
||||
run: make test-code-android
|
||||
|
||||
- name: Store debug artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: debug-artifacts
|
||||
path: |
|
||||
|
||||
10
.github/workflows/android-ci.yml
vendored
10
.github/workflows/android-ci.yml
vendored
@@ -51,13 +51,13 @@ jobs:
|
||||
MBGL_ANDROID_STL: c++_static
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
ccache --show-stats
|
||||
|
||||
- name: restore-gradle-cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: gradle-v1
|
||||
with:
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
- name: Store debug artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: debug-artifacts
|
||||
path: |
|
||||
|
||||
8
.github/workflows/android-docker-base.yml
vendored
8
.github/workflows/android-docker-base.yml
vendored
@@ -7,21 +7,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to ghcr.io
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Build and push android-base image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
file: ./platform/android/docker/android-base
|
||||
context: ./platform/android/docker
|
||||
|
||||
@@ -7,21 +7,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to ghcr.io
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Build and push android-ndk-r21b image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
file: ./platform/android/docker/android-ndk-r21b
|
||||
context: ./platform/android/docker
|
||||
|
||||
8
.github/workflows/android-release.yml
vendored
8
.github/workflows/android-release.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
IS_LOCAL_DEVELOPMENT: false
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
ccache --show-stats
|
||||
|
||||
- name: restore-gradle-cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: gradle-v1
|
||||
with:
|
||||
|
||||
2
.github/workflows/gh-pages-android-api.yml
vendored
2
.github/workflows/gh-pages-android-api.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
unzip javadoc.zip -d unzipped/
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.0
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.0
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: unzipped
|
||||
|
||||
6
.github/workflows/gh-pages-ios-api.yml
vendored
6
.github/workflows/gh-pages-ios-api.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
brew list glfw3 || brew install glfw3
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
run: make idocument
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.0
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.0
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: platform/ios/documentation/
|
||||
|
||||
6
.github/workflows/ios-ci.yml
vendored
6
.github/workflows/ios-ci.yml
vendored
@@ -80,7 +80,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
brew list glfw3 || brew install glfw3
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
|
||||
6
.github/workflows/ios-pre-release.yml
vendored
6
.github/workflows/ios-pre-release.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
gem list -i xcpretty || sudo gem install xcpretty
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
|
||||
6
.github/workflows/ios-release.yml
vendored
6
.github/workflows/ios-release.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
brew list glfw3 || brew install glfw3
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
|
||||
6
.github/workflows/macos-ci.yml
vendored
6
.github/workflows/macos-ci.yml
vendored
@@ -81,7 +81,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
brew list glfw3 || brew install glfw3
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -112,7 +112,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
|
||||
6
.github/workflows/macos-release.yml
vendored
6
.github/workflows/macos-release.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
brew list glfw3 || brew install glfw3
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
run: ccache --clear
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
|
||||
7
.github/workflows/node-ci.yml
vendored
7
.github/workflows/node-ci.yml
vendored
@@ -74,10 +74,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-11.0
|
||||
- macos-10.15
|
||||
- macos-11.0
|
||||
- ubuntu-20.04
|
||||
- ubuntu-18.04
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
BUILDTYPE: ${{github.ref == 'refs/heads/main' && 'Release' || 'Debug'}}
|
||||
@@ -88,7 +87,7 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
@@ -133,7 +132,7 @@ jobs:
|
||||
run: ccache --clear --set-config cache_dir=~/.ccache
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
|
||||
4
.github/workflows/qt-ci-windows.yml
vendored
4
.github/workflows/qt-ci-windows.yml
vendored
@@ -96,7 +96,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: source
|
||||
fetch-depth: 0
|
||||
@@ -144,7 +144,7 @@ jobs:
|
||||
ninja install
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: maplibre-gl-native_${{ matrix.name }}_Qt${{ matrix.qt }}
|
||||
path: install
|
||||
|
||||
6
.github/workflows/qt-ci.yml
vendored
6
.github/workflows/qt-ci.yml
vendored
@@ -110,7 +110,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: source
|
||||
submodules: recursive
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
ccache --set-config cache_dir=~/.ccache
|
||||
|
||||
- name: Cache ccache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: ccache-v1
|
||||
with:
|
||||
@@ -204,7 +204,7 @@ jobs:
|
||||
uses: ./source/.github/actions/qt5-build
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: maplibre-gl-native_${{ matrix.name }}_Qt${{ matrix.qt }}
|
||||
path: install
|
||||
|
||||
Reference in New Issue
Block a user