mirror of
https://github.com/clangd/clangd.git
synced 2025-04-21 08:03:00 +00:00
Install modules using npm rather than building dist/index.js
This commit is contained in:
parent
9bb04435ce
commit
09c4fcbc32
2
.github/actions/pick/action.yaml
vendored
2
.github/actions/pick/action.yaml
vendored
@ -12,4 +12,4 @@ outputs:
|
|||||||
description: 'The SHA1 of the picked commit'
|
description: 'The SHA1 of the picked commit'
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'dist/index.js'
|
main: 'index.js'
|
||||||
|
5
.github/actions/pick/build.sh
vendored
5
.github/actions/pick/build.sh
vendored
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash -ex
|
|
||||||
# Rather than checking in node_modules, check in a standalone dist/index.js.
|
|
||||||
# Requires ncc: npm i -g @zeit/ncc
|
|
||||||
npm install
|
|
||||||
ncc build -m index.js
|
|
1
.github/actions/pick/dist/index.js
vendored
1
.github/actions/pick/dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
.github/workflows/autobuild.yaml
vendored
2
.github/workflows/autobuild.yaml
vendored
@ -137,7 +137,7 @@ jobs:
|
|||||||
env: { GITHUB_TOKEN: "${{ secrets.RELEASE_TOKEN }}" }
|
env: { GITHUB_TOKEN: "${{ secrets.RELEASE_TOKEN }}" }
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ github.event.release.upload_url }}
|
upload_url: ${{ github.event.release.upload_url }}
|
||||||
asset_name: clangd-${{ matrix.config.name }}.zip
|
asset_name: clangd-${{ matrix.config.name }}-${{ github.event.release.tag_name }}.zip
|
||||||
asset_path: clangd.zip
|
asset_path: clangd.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
# Create the release, and upload the artifacts to it.
|
# Create the release, and upload the artifacts to it.
|
||||||
|
Loading…
Reference in New Issue
Block a user