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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 571 - (show annotations)
Mon Jul 29 17:30:53 2024 UTC (8 months, 1 week ago) by rakin
File size: 1021 byte(s)
ci: update 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 Release Action
16 id: release
17 uses: TriPSs/[email protected]
18 with:
19 github-token: ${{ secrets.AUTO_RELEASE_TOKEN }}
20 version-file: './package.json,./package-lock.json'
21 output-file: './CHANGELOG.md'
22 release-count: 0
23 git-user-name: "Conventional Release Action"
24 git-user-email: [email protected]
25
26 - name: Create Release
27 uses: actions/create-release@v1
28 if: ${{ steps.changelog.outputs.skipped == 'false' }}
29 env:
30 GITHUB_TOKEN: ${{ secrets.AUTO_RELEASE_TOKEN }}
31 with:
32 tag_name: ${{ steps.changelog.outputs.tag }}
33 release_name: ${{ steps.changelog.outputs.tag }}
34 body: ${{ steps.changelog.outputs.clean_changelog }}

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26