diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 373cbd93..70ffa709 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,23 +17,23 @@ jobs: config: - os: macOS-latest target: x86_64-apple-darwin - variant: "debug" + variant: debug - os: macOS-latest target: x86_64-apple-darwin - variant: "release" + variant: release - os: ubuntu-16.04 - target: "x86_64-unknown-linux-gnu" - variant: "debug" + target: x86_64-unknown-linux-gnu + variant: debug - os: ubuntu-16.04 - target: "x86_64-unknown-linux-gnu" - variant: "release" + target: x86_64-unknown-linux-gnu + variant: release - os: windows-2019 target: x86_64-pc-windows-msvc - variant: "release" + variant: release # Note we do not support windows debug builds. env: @@ -50,12 +50,12 @@ jobs: uses: actions/checkout@v1 with: fetch-depth: 10 - submodules: "recursive" + submodules: recursive - name: Install rust uses: hecrj/setup-rust-action@v1 with: - rust-version: "1.42.0" + rust-version: 1.42.0 - name: Install rust tools run: rustup component add clippy rustfmt @@ -63,7 +63,7 @@ jobs: - name: Install python uses: actions/setup-python@v1 with: - python-version: "2.7.x" + python-version: 2.7.x architecture: x64 - name: Configure cargo data directory @@ -150,7 +150,7 @@ jobs: - name: Publish # Only publish on x64 linux when there's a git tag: - if: > + if: >- startsWith(github.ref, 'refs/tags/') && github.repository == 'denoland/rusty_v8' && startsWith(matrix.config.target , 'x86_64') &&