File tree 2 files changed +32
-8
lines changed
2 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 35
35
- name : Prefix binary name
36
36
run : cp target/release/aoede.exe target/release/${{ matrix.os }}-aoede.exe
37
37
continue-on-error : true
38
-
39
- - name : Release
40
- uses : softprops/action-gh-release@v1
41
- if : startsWith(github.ref, 'refs/tags/v')
42
- with :
43
- files : target/release/*-aoede!(*.d|*.pdb)
44
- env :
45
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+
6
+ name : Create tag & GitHub release from conventional commits
7
+
8
+ jobs :
9
+ release :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - name : Conventional Changelog Action
18
+ id : changelog
19
+ uses : TriPSs/conventional-changelog-action@v3
20
+ with :
21
+ output-file : " false"
22
+ skip-ci : " false"
23
+ github-token : ${{ secrets.GITHUB_TOKEN }}
24
+ version-file : " Cargo.toml"
25
+ version-path : " package.version"
26
+
27
+ - name : Create Release
28
+ uses : softprops/action-gh-release@v1
29
+ if : ${{ steps.changelog.outputs.skipped == 'false' }}
30
+ with :
31
+ tag_name : ${{ steps.changelog.outputs.tag }}
32
+ body : ${{ steps.changelog.outputs.clean_changelog }}
You can’t perform that action at this time.
0 commit comments