We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0e9a9d commit 1bab57dCopy full SHA for 1bab57d
1 file changed
.github/workflows/release-build.yaml
@@ -1,14 +1,12 @@
1
name: Release
2
3
on:
4
- push:
5
- tags:
6
- - '*'
7
workflow_dispatch:
8
inputs:
9
version:
10
description: 'Version to release (tag name)'
11
required: true
+ type: string
12
13
permissions:
14
contents: write
@@ -24,17 +22,13 @@ jobs:
24
22
- name: Determine version
25
23
id: version
26
run: |
27
- if [ -n "${{ inputs.version }}" ]; then
28
- version="${{ inputs.version }}"
29
- else
30
- version="${GITHUB_REF_NAME}"
31
- fi
+ version="${{ inputs.version }}"
32
echo "version=${version}" >> "$GITHUB_OUTPUT"
33
echo "Releasing version: ${version}"
34
35
- uses: actions/checkout@v4
36
with:
37
- ref: ${{ steps.version.outputs.version }}
+ ref: ${{ inputs.version }}
38
fetch-depth: 0
39
40
- name: Set up QEMU
0 commit comments