/[sudobot]/trunk/.github/workflows/release.yml
ViewVC logotype

Contents of /trunk/.github/workflows/release.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 522 - (show annotations)
Mon Jul 29 17:30:38 2024 UTC (8 months, 1 week ago) by rakin
File size: 850 byte(s)
ci: update auto release workflow
1 name: Releases
2 on:
3 push:
4 branches:
5 - main
6
7 jobs:
8 changelog:
9 if: github.repository_owner == 'onesoft-sudo'
10 runs-on: ubuntu-latest
11
12 steps:
13 - uses: actions/checkout@v3
14
15 - name: Conventional Changelog Action
16 id: changelog
17 uses: TriPSs/[email protected]
18 with:
19 github-token: ${{ secrets.AUTO_RELEASE_TOKEN }}
20 version-file: './package.json,./package-lock.json'
21
22 - name: Create Release
23 uses: actions/create-release@v1
24 if: ${{ steps.changelog.outputs.skipped == 'false' }}
25 env:
26 GITHUB_TOKEN: ${{ secrets.AUTO_RELEASE_TOKEN }}
27 with:
28 tag_name: ${{ steps.changelog.outputs.tag }}
29 release_name: ${{ steps.changelog.outputs.tag }}
30 body: ${{ steps.changelog.outputs.clean_changelog }}

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26