about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-06-06 23:02:58 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-06-06 23:02:58 +0200
commitef095585756108e901af637993932e5be2a1fe28 (patch)
treedd5656e04d4e2a449684bc74e970e6b0ee52bae1
parentd42d55feaafa71e14521bbfe6e7011fbb41980f0 (diff)
downloadrust-ef095585756108e901af637993932e5be2a1fe28.tar.gz
rust-ef095585756108e901af637993932e5be2a1fe28.zip
fix: Fix ci never running on nightly when proc-macro things change
-rw-r--r--.github/workflows/ci.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 622da105fdd..92e353ba8f3 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -24,6 +24,7 @@ jobs:
       pull-requests: read
     outputs:
       typescript: ${{ steps.filter.outputs.typescript }}
+      proc_macros: ${{ steps.filter.outputs.proc_macros }}
     steps:
       - uses: actions/checkout@v3
       - uses: dorny/paths-filter@4067d885736b84de7c414f582ac45897079b0a78
@@ -45,8 +46,8 @@ jobs:
     runs-on: ${{ matrix.os }}
     env:
       CC: deny_c
-      RUST_CHANNEL: "${{ needs.changes.outputs.proc_macros == 'true' && 'nightly' || 'stable'}}"
-      USE_SYSROOT_ABI: "${{ needs.changes.outputs.proc_macros == 'true' && '--features sysroot-abi' || ''}}"
+      RUST_CHANNEL: "${{ needs.changes.outputs.proc_macros == 'true' && 'nightly' || 'stable' }}"
+      USE_SYSROOT_ABI: "${{ needs.changes.outputs.proc_macros == 'true' && '--features sysroot-abi' || '' }}"
 
     strategy:
       fail-fast: false