Skip to content

Commit cb5f021

Browse files
committed
Add release extension
1 parent d18fd8f commit cb5f021

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
release:
3+
types:
4+
- created
5+
6+
name: Upload the extension
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Install Node.js
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: 14
17+
- run: mkdir artifacts
18+
- run: npm install
19+
- run: npm build
20+
- name: "Release Extension"
21+
uses: actions/upload-release-asset@v1
22+
with:
23+
upload_url: ${{ github.event.release.upload_url }}
24+
asset_path: ./artifacts/phpactor.vsix
25+
asset_name: phpactor.vsix
26+
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)