-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (43 loc) · 1.19 KB
/
publish.yml
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
47
48
49
50
51
name: Vscode Publish
on:
push:
tags:
- v*
permissions: {}
jobs:
# publish-vscode:
# permissions:
# contents: write
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 18
# cache: npm
# - name: Install Dependencies
# run: npm i
# - uses: lannonbr/[email protected]
# with:
# args: publish -p $VSCE_TOKEN
# env:
# VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
create-release:
# needs: publish-vscode
name: Create Release
if: "contains(github.event.head_commit.message, 'release')"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release for Tag
id: release_tag
uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.GHB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/hemengke1997/vscode-image-manager/blob/master/CHANGELOG.md) for details.