-
Notifications
You must be signed in to change notification settings - Fork 11
46 lines (37 loc) · 1.01 KB
/
docs-ts.yml
File metadata and controls
46 lines (37 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}-docs-ts"
cancel-in-progress: true
on:
workflow_call:
env:
RELEASE: 1
jobs:
docs-ts:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v6
- name: setup bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: download web files
uses: ./.github/actions/make/ts/browser
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
artifact-generation: ${{ vars.ARTIFACT_GENERATION }}
- name: download native files
uses: ./.github/actions/make/ts/native
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
artifact-generation: ${{ vars.ARTIFACT_GENERATION }}
- name: make ts docs
run: make docs-ts
- uses: actions/upload-artifact@v7.0.0
with:
name: typescript
path: target/typescript/doc
retention-days: 1
overwrite: true
include-hidden-files: true
if-no-files-found: error