-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 1.05 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: Release
on: # yamllint disable-line rule:truthy
push: null
pull_request: null
permissions:
contents: write
jobs:
release:
name: Release from push
runs-on: ubuntu-latest
steps:
- name: Pause until all workflows are completed
uses: willgarcia/workflow-wait-action@main
with:
interval: 2
initial_delay: 40
- name: Checkout
uses: actions/checkout@v4
- name: Parse Changelog
id: changelog
uses: coditory/changelog-parser@v1
- name: Changelog description output
run: echo "${{ steps.changelog.outputs.description }}"
- name: Create a release
id: release
uses: ncipollo/[email protected]
with:
name: v${{ steps.changelog.outputs.version }}
body: ${{ steps.changelog.outputs.description }}
tag: v${{ steps.changelog.outputs.version }}
generateReleaseNotes: false
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: ${{ env.BINARY_NAME }}