Skip to content

Commit

Permalink
dry run by default, use W3C_USERNAME alternately
Browse files Browse the repository at this point in the history
  • Loading branch information
dschuff committed Oct 3, 2024
1 parent c9c84e0 commit 61bf135
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/w3c-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ on:

jobs:
publish-to-w3c-TR:
if: github.repository == 'WebAssembly/spec'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand All @@ -45,6 +44,7 @@ jobs:
- name: Setup Sphinx
run: pip install six && pip install sphinx==5.1.0
- name: Publish all specs to their https://www.w3.org/TR/ URLs
if: github.repository == 'WebAssembly/spec'
run: cd document && make -e WD-echidna-CI
env:
W3C_STATUS: ${{ github.event_name == 'workflow_dispatch' && inputs.w3c-status || 'WD' }}
Expand All @@ -53,3 +53,11 @@ jobs:
W3C_ECHIDNA_TOKEN_WEBAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_WEBAPI }}
ECHIDNA_DRYRUN: ${{ github.event_name == 'pull_request'}}
YARN_ENABLE_IMMUTABLE_INSTALLS: false
- name: Validate all specs with Echidna
if: github.repository != 'WebAssembly/spec'
run: cd document && make -e WD-echidna
env:
W3C_STATUS: ${{ github.event_name == 'workflow_dispatch' && inputs.w3c-status || 'WD' }}
W3C_USERNAME: ${{ secrets.W3C_USERNAME }}
W3C_PASSWORD: ${{ secrets.W3C_PASSWORD }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false
2 changes: 1 addition & 1 deletion document/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ NAME = WebAssembly
DECISION_URL = https://github.com/WebAssembly/meetings/blob/main/main/2024/WG-06-12.md
TAR = tar
DEADLINE = $(shell date -d "+30 days" +%Y-%m-%d 2>/dev/null || date -v +30d +%Y-%m-%d)
ECHIDNA_DRYRUN = false
ECHIDNA_DRYRUN = true

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
Expand Down
2 changes: 1 addition & 1 deletion document/js-api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ NAME = WebAssembly
DECISION_URL = https://github.com/WebAssembly/meetings/blob/main/main/2024/WG-06-12.md
TAR = tar
DEADLINE = $(shell date -d "+30 days" +%Y-%m-%d 2>/dev/null || date -v +30d +%Y-%m-%d)
ECHIDNA_DRYRUN = false
ECHIDNA_DRYRUN = true

.PHONY: all
all:
Expand Down
2 changes: 1 addition & 1 deletion document/web-api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ NAME = WebAssembly
DECISION_URL = https://github.com/WebAssembly/meetings/blob/main/main/2024/WG-06-12.md
TAR = tar
DEADLINE = $(shell date -d "+30 days" +%Y-%m-%d 2>/dev/null || date -v +30d +%Y-%m-%d)
ECHIDNA_DRYRUN = false
ECHIDNA_DRYRUN = true

.PHONY: all
all:
Expand Down

0 comments on commit 61bf135

Please sign in to comment.