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: 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: |