You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,42 @@ jobs:
17
17
- run: npm publish --access public --provenance
18
18
name: 📦 open-browsers to NPM
19
19
continue-on-error: true
20
-
working-directory: core
21
20
env:
22
21
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22
+
23
+
- name: Create Tag
24
+
id: create_tag
25
+
uses: jaywcjlove/create-tag-action@main
26
+
with:
27
+
token: ${{ secrets.GITHUB_TOKEN }}
28
+
package-path: ./package.json
29
+
30
+
- name: get tag version
31
+
id: tag_version
32
+
uses: jaywcjlove/changelog-generator@main
33
+
34
+
- name: Generate Changelog
35
+
id: changelog
36
+
uses: jaywcjlove/changelog-generator@main
37
+
with:
38
+
head-ref: ${{steps.create_tag.outputs.version}}
39
+
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
40
+
41
+
- name: Create Release
42
+
uses: ncipollo/release-action@v1
43
+
if: steps.create_tag.outputs.successful
44
+
with:
45
+
allowUpdates: true
46
+
token: ${{ secrets.GITHUB_TOKEN }}
47
+
name: ${{ steps.create_tag.outputs.version }}
48
+
tag: ${{ steps.create_tag.outputs.version }}
49
+
body: |
50
+
[](https://jaywcjlove.github.io/#/sponsor) [](https://uiwjs.github.io/npm-unpkg/#/pkg/open-browsers@${{steps.create_tag.outputs.versionNumber}}/file/README.md)
0 commit comments