Skip to content

Commit 24cf832

Browse files
committed
chore: update workflows config.
1 parent 0e295d5 commit 24cf832

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: 14
14+
node-version: 16
1515

1616
- name: Generate Contributors Images
1717
uses: jaywcjlove/github-action-contributors@main
@@ -21,7 +21,13 @@ jobs:
2121

2222
- run: npm install
2323
- run: npm run build
24-
- run: npm run dash
24+
- run: node build/dash.js
25+
26+
- name: Compress linux-command.docset.
27+
run: zip -r -y linux-command.docset.zip . -x "node_modules/*"
28+
working-directory: .deploy/linux-command.docset
29+
- run: cp -rp .deploy/linux-command.docset/linux-command.docset.zip ../../
30+
2531
- run: rm -rf .deploy/linux-command.docset
2632
- run: cp CONTRIBUTORS.svg .deploy
2733

@@ -55,6 +61,7 @@ jobs:
5561
uses: ncipollo/release-action@v1
5662
if: steps.create_tag.outputs.successful
5763
with:
64+
artifacts: 'linux-command.docset.zip'
5865
token: ${{ secrets.GITHUB_TOKEN }}
5966
name: ${{ steps.create_tag.outputs.version }}
6067
tag: ${{ steps.create_tag.outputs.version }}

0 commit comments

Comments
 (0)