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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26