We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1769b commit b10dc57Copy full SHA for b10dc57
.github/workflows/ci.yml
@@ -2,10 +2,15 @@ name: CI
2
3
on:
4
pull_request:
5
+ branches:
6
+ - master
7
+ - main
8
push:
9
branches:
10
- master
11
- main
12
+ tags:
13
+ - "v*.*.*"
14
15
jobs:
16
build:
@@ -16,3 +21,14 @@ jobs:
21
- run: pnpm i
17
22
- run: pnpm check
18
23
- run: pnpm build
24
+
25
+ - name: Release
26
+ uses: softprops/action-gh-release@v2
27
+ if: startsWith(github.ref, 'refs/tags/v')
28
+ with:
29
+ token: ${{ secrets.GITHUB_TOKEN }}
30
+ body: |
31
+ Auto-generated release
32
+ prerelease: ${{ contains(github.event.ref, '-beta') }}
33
+ fail_on_unmatched_files: true
34
+ files: ./dist-xdc/*.xdc
.github/workflows/release.yml
0 commit comments