Skip to content

Check Echidna publishing results for failure or success #55

Check Echidna publishing results for failure or success

Check Echidna publishing results for failure or success #55

Workflow file for this run

name: Validate/Publish to W3C TR space
on:
push:
branches: [ main ]
paths: [ .github/**, document/** ]
pull_request:
paths: [ .github/**, document/** ]
# Allows you to run this workflow manually from the Actions tab, gh CLI tool,
# or REST API. THe w3c-status options correspond to the valid options for
# Bikeshed's --md-status flag, and refer to the W3C rec-track document
# stages described in https://www.w3.org/policies/process/#maturity-stages
# (Editor's Draft, Working Draft, Candidiate Recommendation Draft, and
# Candidate Recommendation Snapshot).
workflow_dispatch:
inputs:
w3c-status:
required: true
type: choice
description: W3C Document Status
options:
- ED
- WD
- CRD
- CR
jobs:
publish-to-w3c-TR:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup Bikeshed
run: pip install bikeshed && bikeshed update
- name: Setup TexLive
run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- 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: secrets.W3C_ECHIDNA_TOKEN_CORE

Check failure on line 47 in .github/workflows/w3c-publish.yml

View workflow run for this annotation

GitHub Actions / Validate/Publish to W3C TR space

Invalid workflow file

The workflow is not valid. .github/workflows/w3c-publish.yml (Line: 47, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.W3C_ECHIDNA_TOKEN_CORE .github/workflows/w3c-publish.yml (Line: 57, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.W3C_USERNAME
run: cd document && make -e WD-echidna-CI
env:
W3C_STATUS: ${{ github.event_name == 'workflow_dispatch' && inputs.w3c-status || 'WD' }}
W3C_ECHIDNA_TOKEN_CORE: ${{ secrets.W3C_ECHIDNA_TOKEN_CORE }}
W3C_ECHIDNA_TOKEN_JSAPI: ${{ secrets.W3C_ECHIDNA_TOKEN_JSAPI }}
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: secrets.W3C_USERNAME
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