We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66ffa99 commit a6e7049Copy full SHA for a6e7049
2 files changed
.github/workflows/action.yaml
@@ -5,6 +5,12 @@ on:
5
branches:
6
- test
7
- main
8
+ workflow_dispatch:
9
+ inputs:
10
+ version:
11
+ description: 'Package version to build'
12
+ required: true
13
+ type: string
14
15
jobs:
16
build:
@@ -19,6 +25,12 @@ jobs:
19
25
steps:
20
26
- uses: actions/checkout@v4
21
27
28
+ - name: Update recipe version
29
+ if: github.event_name == 'workflow_dispatch'
30
+ run: |
31
+ sed -i 's/version: ".*"/version: "${{ github.event.inputs.version }}"/' conda.recipe/recipe.yaml
32
+ cat conda.recipe/recipe.yaml
33
+
22
34
- name: Build conda package
23
35
uses: prefix-dev/rattler-build-action@v0.2.34
24
36
conda.recipe/recipe.yaml
@@ -1,3 +1,3 @@
1
package:
2
name: "signed-package"
3
- version: "2.4.0"
+ version: "2.5.0"
0 commit comments