Skip to content

Commit cb97007

Browse files
authored
Override W3C_STATUS Makefile var when building specs for Echidna (#2000)
1 parent 254730a commit cb97007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/w3c-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: cd spectec && opam exec make
7171
- name: Publish ${{ matrix.spec }} spec to its https://www.w3.org/TR/ URL
7272
if: env.W3C_ECHIDNA_TOKEN_CORE
73-
run: cd document/${{ matrix.spec }} && opam exec make WD-echidna-CI
73+
run: cd document/${{ matrix.spec }} && opam exec make W3C_STATUS=${{ env.W3C_STATUS }} WD-echidna-CI
7474
env:
7575
W3C_ECHIDNA_TOKEN_CORE: ${{ secrets.W3C_ECHIDNA_TOKEN_CORE }}
7676
W3C_ECHIDNA_TOKEN_JSAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_JSAPI }}
@@ -81,7 +81,7 @@ jobs:
8181
(github.event_name == 'push' && github.repository == 'WebAssembly/spec' && github.ref == 'refs/heads/main')) }}
8282
- name: Validate ${{ matrix.spec }} spec with Echidna
8383
if: env.W3C_USERNAME
84-
run: cd document/${{ matrix.spec }} && opam exec make WD-echidna
84+
run: cd document/${{ matrix.spec }} && opam exec make W3C_STATUS=${{ env.W3C_STATUS }} WD-echidna
8585
env:
8686
W3C_USERNAME: ${{ secrets.W3C_USERNAME }}
8787
W3C_PASSWORD: ${{ secrets.W3C_PASSWORD }}

0 commit comments

Comments
 (0)