Skip to content

Commit 72b61f5

Browse files
authored
Merge pull request #61 from WebAssembly/dschuff-patch-1
Remove unneeded dependencies from the publish-spec job
2 parents cb8309e + 3e3776e commit 72b61f5

File tree

1 file changed

+0
-65
lines changed

1 file changed

+0
-65
lines changed

.github/workflows/ci-spec.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,6 @@ on:
1313
workflow_dispatch:
1414

1515
jobs:
16-
build-core-spec:
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Checkout repo
20-
uses: actions/checkout@v2
21-
with:
22-
submodules: "recursive"
23-
- name: Setup Node.js
24-
uses: actions/setup-node@v3
25-
with:
26-
node-version: 16
27-
- name: Setup Bikeshed
28-
run: pip install bikeshed && bikeshed update
29-
- name: Setup TexLive
30-
run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
31-
- name: Setup Sphinx
32-
run: pip install six && pip install sphinx==5.1.0
33-
- name: Build main spec
34-
run: cd document/core && make main
35-
- name: Run Bikeshed
36-
run: cd document/core && make bikeshed
37-
- name: Upload artifact
38-
uses: actions/upload-artifact@v4
39-
with:
40-
name: core-rendered
41-
path: document/core/_build/html
42-
4316
build-js-api-spec:
4417
runs-on: ubuntu-latest
4518
steps:
@@ -70,26 +43,6 @@ jobs:
7043
name: web-api-rendered
7144
path: document/web-api/index.html
7245

73-
build-code-metadata-spec:
74-
runs-on: ubuntu-latest
75-
needs: [build-core-spec]
76-
steps:
77-
- name: Checkout repo
78-
uses: actions/checkout@v2
79-
with:
80-
submodules: "recursive"
81-
- name: Setup TexLive
82-
run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
83-
- name: Setup Sphinx
84-
run: pip install six && pip install sphinx==5.1.0
85-
- name: Build main spec
86-
run: cd document/metadata/code && make main
87-
- name: Upload artifact
88-
uses: actions/upload-artifact@v4
89-
with:
90-
name: code-metadata-rendered
91-
path: document/metadata/code/_build/html
92-
9346
build-legacy-exceptions-core-spec:
9447
runs-on: ubuntu-latest
9548
steps:
@@ -138,10 +91,7 @@ jobs:
13891
publish-spec:
13992
runs-on: ubuntu-latest
14093
needs:
141-
- build-core-spec
14294
- build-js-api-spec
143-
- build-web-api-spec
144-
- build-code-metadata-spec
14595
- build-legacy-exceptions-core-spec
14696
- build-legacy-exceptions-js-api-spec
14797
- build-spec-versions
@@ -150,26 +100,11 @@ jobs:
150100
uses: actions/checkout@v2
151101
- name: Create output directory
152102
run: mkdir _output && cp document/index.html _output/index.html
153-
- name: Download core spec artifact
154-
uses: actions/download-artifact@v4
155-
with:
156-
name: core-rendered
157-
path: _output/core
158103
- name: Download JS API spec artifact
159104
uses: actions/download-artifact@v4
160105
with:
161106
name: js-api-rendered
162107
path: _output/js-api
163-
- name: Download Web API spec artifact
164-
uses: actions/download-artifact@v4
165-
with:
166-
name: web-api-rendered
167-
path: _output/web-api
168-
- name: Download code metadata spec artifact
169-
uses: actions/download-artifact@v4
170-
with:
171-
name: code-metadata-rendered
172-
path: _output/metadata/code
173108
- name: Download legacy exceptions core spec artifact
174109
uses: actions/download-artifact@v4
175110
with:

0 commit comments

Comments
 (0)