Skip to content

Commit a6e7049

Browse files
committed
2.5.0
1 parent 66ffa99 commit a6e7049

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/action.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches:
66
- test
77
- main
8+
workflow_dispatch:
9+
inputs:
10+
version:
11+
description: 'Package version to build'
12+
required: true
13+
type: string
814

915
jobs:
1016
build:
@@ -19,6 +25,12 @@ jobs:
1925
steps:
2026
- uses: actions/checkout@v4
2127

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+
2234
- name: Build conda package
2335
uses: prefix-dev/rattler-build-action@v0.2.34
2436

conda.recipe/recipe.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package:
22
name: "signed-package"
3-
version: "2.4.0"
3+
version: "2.5.0"

0 commit comments

Comments
 (0)