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 |
rakin |
555 |
- name: Conventional Release Action |
16 |
|
|
id: release |
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 }} |