File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 88 branches : [ "master" ]
99 pull_request :
1010 branches : [ "master" ]
11-
11+ env :
12+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Automatically provided token with repo scope
13+ TAG : ${{ github.ref_name }} # The name of the pushed tag (e.g., v1.0.0)
1214jobs :
1315 build :
14-
16+ name : Create Release
1517 runs-on : ubuntu-latest
16-
1718 strategy :
1819 matrix :
1920 node-version : [18.x, 20.x, 22.x]
2021 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21-
2222 steps :
2323 - uses : actions/checkout@v4
2424 - name : Use Node.js ${{ matrix.node-version }}
3030 - run : npm install
3131 - run : npm test
3232 - run : npx tsc
33+ - name : Create Release
34+ id : create_release
35+ uses : comnoco/create-release@v2
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
38+ with :
39+ tag_name : ${{ github.ref }}
40+ release_name : Release ${{ github.ref }}
41+ draft : false
42+ prerelease : false
43+
You can’t perform that action at this time.
0 commit comments