Fix tests to always test the commit that was just pushed

This commit is contained in:
Dave Rolsky 2023-07-22 10:31:45 -05:00
parent ab3f022734
commit dd8fb2fac4
No known key found for this signature in database

View File

@ -181,21 +181,21 @@ jobs:
cp -a test-project/* .
rm -fr test-project
- name: Run both commands
uses: "houseabsolute/actions-rust-cross@v0"
uses: ./
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"
uses: ./
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"
uses: ./
with:
command: build
target: ${{ matrix.platform.target }}