Skip to content

Commit 5a0eda7

Browse files
committed
Automatically generate release notes
1 parent f17923c commit 5a0eda7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
BUILD_TYPE: Release
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919

2020
- name: Tag cmkr.cmake
2121
if: ${{ startsWith(github.ref, 'refs/tags/') }}
@@ -38,28 +38,29 @@ jobs:
3838
ctest -C ${{ env.BUILD_TYPE }} --verbose
3939
4040
- name: Upload artifacts
41-
uses: actions/upload-artifact@v2
41+
uses: actions/upload-artifact@v3
4242
with:
4343
name: ${{ github.event.repository.name }}-${{ matrix.os }}
4444
path: install/bin/*
4545

4646
- name: Get lowercase OS name
4747
id: osname
48-
uses: ASzc/change-string-case-action@v1
48+
uses: ASzc/change-string-case-action@07c1e24a97f0951e13f88870b99c058fcf0b14cf # v5
4949
with:
5050
string: ${{ runner.os }}
5151

5252
- name: Compress artifacts
53-
uses: vimtor/action-zip@v1
53+
uses: vimtor/action-zip@26a249fb00d43ca98dad77a4b3838025fc226aa1 # v1.1
5454
with:
5555
files: install/bin/
5656
dest: ${{ github.event.repository.name }}-${{ steps.osname.outputs.lowercase }}.zip
5757

5858
- name: Release
59-
uses: softprops/action-gh-release@v1
59+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
6060
if: ${{ startsWith(github.ref, 'refs/tags/') }}
6161
with:
6262
prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') || contains(github.ref, '-pre') }}
6363
files: ${{ github.event.repository.name }}-${{ steps.osname.outputs.lowercase }}.zip
64+
generate_release_notes: true
6465
env:
6566
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)