mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix GITHUB_TOKEN usage in CI
This commit is contained in:
parent
6951dd65c2
commit
4da958f252
2
.github/actions/android/action.yml
vendored
2
.github/actions/android/action.yml
vendored
@ -5,8 +5,6 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install nightly toolchain
|
- name: Install nightly toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just nightly-toolchain-android
|
run: just nightly-toolchain-android
|
||||||
|
|||||||
7
.github/actions/apple/action.yml
vendored
7
.github/actions/apple/action.yml
vendored
@ -1,12 +1,17 @@
|
|||||||
name: macOS
|
name: macOS
|
||||||
description: Build for macOS
|
description: Build for macOS
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
GITHUB_TOKEN:
|
||||||
|
required: true
|
||||||
|
description: On macos runners we often hit API limits. Using this token avoid this.
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just default-toolchain
|
run: just default-toolchain
|
||||||
|
|||||||
2
.github/actions/benchmarks/action.yml
vendored
2
.github/actions/benchmarks/action.yml
vendored
@ -5,8 +5,6 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just default-toolchain
|
run: just default-toolchain
|
||||||
|
|||||||
2
.github/actions/check/action.yml
vendored
2
.github/actions/check/action.yml
vendored
@ -5,8 +5,6 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just default-toolchain
|
run: just default-toolchain
|
||||||
|
|||||||
2
.github/actions/docs/action.yml
vendored
2
.github/actions/docs/action.yml
vendored
@ -5,8 +5,6 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just default-toolchain
|
run: just default-toolchain
|
||||||
|
|||||||
2
.github/actions/linux-demo/action.yml
vendored
2
.github/actions/linux-demo/action.yml
vendored
@ -5,8 +5,6 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just default-toolchain
|
run: just default-toolchain
|
||||||
|
|||||||
2
.github/actions/webgl/action.yml
vendored
2
.github/actions/webgl/action.yml
vendored
@ -5,8 +5,6 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install nightly toolchain
|
- name: Install nightly toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just nightly-toolchain
|
run: just nightly-toolchain
|
||||||
|
|||||||
2
.github/actions/webgpu/action.yml
vendored
2
.github/actions/webgpu/action.yml
vendored
@ -5,8 +5,6 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Install nightly toolchain
|
- name: Install nightly toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just nightly-toolchain
|
run: just nightly-toolchain
|
||||||
|
|||||||
2
.github/workflows/on_main_push.yml
vendored
2
.github/workflows/on_main_push.yml
vendored
@ -67,3 +67,5 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ./.github/actions/apple
|
- uses: ./.github/actions/apple
|
||||||
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
2
.github/workflows/on_pull_request.yml
vendored
2
.github/workflows/on_pull_request.yml
vendored
@ -47,3 +47,5 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ./.github/actions/apple
|
- uses: ./.github/actions/apple
|
||||||
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user