From 3e012c640e13d4bc9d5f7f57e47937b3405cef76 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Tue, 17 Dec 2024 13:52:11 -0800 Subject: [PATCH] Fix Echidna dry-run logic --- .github/workflows/w3c-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/w3c-publish.yml b/.github/workflows/w3c-publish.yml index 2f10b0adb2..475857b85e 100644 --- a/.github/workflows/w3c-publish.yml +++ b/.github/workflows/w3c-publish.yml @@ -65,8 +65,8 @@ jobs: W3C_ECHIDNA_TOKEN_JSAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_JSAPI }} W3C_ECHIDNA_TOKEN_WEBAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_WEBAPI }} ECHIDNA_DRYRUN: |- - ${{ (github.event_name == 'workflow_dispatch' && inputs.dry-run) || - !(github.event_name == 'push' && github.repository == 'WebAssembly/spec' && github.ref == 'refs/heads/main') }} + ${{ !((github.event_name == 'workflow_dispatch' && !inputs.dry-run) || + (github.event_name == 'push' && github.repository == 'WebAssembly/spec' && github.ref == 'refs/heads/main')) }} - name: Validate ${{ matrix.spec }} spec with Echidna if: env.W3C_USERNAME run: cd document && make -e -C ${{ matrix.spec }} WD-echidna