build: fix publishing step (#1495)

After adding the Android support the CI fails on tags because cargo publish was being run
on linux GNU and linux Android.
This commit is contained in:
Bartek Iwańczuk 2024-06-06 22:02:18 +01:00 committed by GitHub
parent 0911b83bcd
commit 101be535c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -257,6 +257,7 @@ jobs:
startsWith(github.ref, 'refs/tags/') &&
github.repository == 'denoland/rusty_v8' &&
startsWith(matrix.config.target , 'x86_64') &&
!endsWith(matrix.config.target , 'android') &&
matrix.config.variant == 'debug' &&
runner.os == 'Linux'
env: