Pass GITHUB_TOKEN in self-test workflow
This commit is contained in:
parent
2f68f636e2
commit
58c5e42ace
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -171,18 +171,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: both
|
command: both
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
if: ${{ matrix.platform.can_test }}
|
if: ${{ matrix.platform.can_test }}
|
||||||
- name: Run test command
|
- name: Run test command
|
||||||
uses: "houseabsolute/actions-rust-cross@v0"
|
uses: "houseabsolute/actions-rust-cross@v0"
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
if: ${{ matrix.platform.can_test }}
|
if: ${{ matrix.platform.can_test }}
|
||||||
- name: Run build command
|
- name: Run build command
|
||||||
uses: "houseabsolute/actions-rust-cross@v0"
|
uses: "houseabsolute/actions-rust-cross@v0"
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Check for cross on ${{ matrix.platform.platform_name }}
|
- name: Check for cross on ${{ matrix.platform.platform_name }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user