Skip to content

Commit 14dde54

Browse files
committed
ci: enable automated releases
1 parent 6421bef commit 14dde54

File tree

9 files changed

+467
-145
lines changed

9 files changed

+467
-145
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: apply-version-patch
2+
description: Apply a version patch contained in a release artifact
3+
inputs:
4+
new_release:
5+
description: Was a new release created
6+
version:
7+
description: Git tag of the created release
8+
patch_file:
9+
description: Path to the patch file in the artifact
10+
artifact_name:
11+
description: Artifact name to retrieve
12+
runs:
13+
using: composite
14+
steps:
15+
- uses: actions/download-artifact@v3
16+
with:
17+
name: ${{ inputs.artifact_name }}
18+
if: inputs.new_release == 'true'
19+
20+
- run: |
21+
git apply ${{ inputs.patch_file }}
22+
git tag ${{ inputs.version }}
23+
shell: bash
24+
if: inputs.new_release == 'true'
25+

0 commit comments

Comments
 (0)