Pass GITHUB_TOKEN in self-test workflow

This commit is contained in:
Dave Rolsky 2023-03-17 11:17:02 -04:00
parent 2f68f636e2
commit 58c5e42ace
No known key found for this signature in database

View File

@ -171,18 +171,21 @@ jobs:
with:
command: both
target: ${{ matrix.platform.target }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.platform.can_test }}
- name: Run test command
uses: "houseabsolute/actions-rust-cross@v0"
with:
command: test
target: ${{ matrix.platform.target }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.platform.can_test }}
- name: Run build command
uses: "houseabsolute/actions-rust-cross@v0"
with:
command: build
target: ${{ matrix.platform.target }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check for cross on ${{ matrix.platform.platform_name }}
shell: bash
run: |