Skip to content

Commit 338cf40

Browse files
authored
Override ECHIDNA_DRYRUN make variable on command line (#2001)
Also update the step names for clarity.
1 parent e3c074c commit 338cf40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/w3c-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
- name: Build SpecTec
6969
if: ${{ matrix.spec == 'core' }}
7070
run: cd spectec && opam exec make
71-
- name: Publish ${{ matrix.spec }} spec to its https://www.w3.org/TR/ URL
71+
- name: Publish (or validate) ${{ 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 W3C_STATUS=${{ env.W3C_STATUS }} WD-echidna-CI
73+
run: cd document/${{ matrix.spec }} && opam exec make W3C_STATUS=${{ env.W3C_STATUS }} ECHIDNA_DRYRUN=${{ env.ECHIDNA_DRYRUN}} 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 }}
@@ -79,7 +79,7 @@ jobs:
7979
ECHIDNA_DRYRUN: |-
8080
${{ !((github.event_name == 'workflow_dispatch' && !inputs.dry-run) ||
8181
(github.event_name == 'push' && github.repository == 'WebAssembly/spec' && github.ref == 'refs/heads/main')) }}
82-
- name: Validate ${{ matrix.spec }} spec with Echidna
82+
- name: Validate ${{ matrix.spec }} spec with Echidna using personal credentials
8383
if: env.W3C_USERNAME
8484
run: cd document/${{ matrix.spec }} && opam exec make W3C_STATUS=${{ env.W3C_STATUS }} WD-echidna
8585
env:

0 commit comments

Comments
 (0)