don't publish from arm64 build (#286)

fixing https://github.com/denoland/rusty_v8/runs/454491681
This commit is contained in:
Ryan Dahl 2020-02-19 00:45:10 -05:00 committed by GitHub
parent fd286aaf34
commit 9b83495976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,9 +111,11 @@ jobs:
# run: cargo package -vv --locked
- name: Publish
# Only publish on x64 linux when there's a git tag:
if: >
startsWith(github.ref, 'refs/tags/') &&
github.repository == 'denoland/rusty_v8' &&
startsWith(matrix.config.target , 'x86_64') &&
runner.os == 'Linux'
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}