@@ -18,34 +18,23 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@v3 # Checkout our working repository
20
20
21
- - uses : fregante/daily-version-action@v2
22
- name : Create tag if necessary
21
+ - name : Create tag if necessary
22
+ uses : fregante/daily-version-action@v2
23
23
id : daily-version
24
24
25
- - name : Conventional Changelog Action
25
+ - name : Create changelog text
26
26
if : steps.daily-version.outputs.created
27
27
id : changelog
28
- uses : TriPSs/conventional -changelog-action@v3
28
+ uses : loopwerk/tag -changelog@v1
29
29
with :
30
- github-token : ${{ secrets.GITHUB_TOKEN }}
31
- skip-git-pull : " true"
32
- output-file : " false"
33
- fallback-version : " ${{ steps.daily-version.outputs.version }}"
34
- skip-version-file : " true"
35
- git-message : " chore(release): {version}"
36
- git-user-name : " ${{ github.actor }}"
37
- git-user-email : " ${{ github.actor }}@users.noreply.github.com"
30
+ token : ${{ secrets.GITHUB_TOKEN }}
31
+ config_file : ./../.github/tag-changelog-config.js
38
32
39
33
- name : Create release
40
- if : env.DAILY_VERSION_CREATED
41
-
34
+ uses : actions/create-release@latest
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
37
with :
43
- github-token : ${{ secrets.GITHUB_TOKEN }}
44
- script : |
45
- await github.request(
46
- `POST /repos/${{ github.repository }}/releases`,
47
- {
48
- tag_name: "${{ steps.daily-version.outputs.version }}",
49
- body: "${{ steps.daily-version.outputs.clean_changelog }}"
50
- }
51
- );
38
+ tag_name : ${{ steps.daily-version.outputs.version }}
39
+ release_name : Release ${{ steps.daily-version.outputs.version }}
40
+ body : ${{ steps.changelog.outputs.changes }}
0 commit comments