Skip to content

Commit eb79f4e

Browse files
committed
Add release branch workflow
1 parent cfd2676 commit eb79f4e

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Prerelease checks
2+
on:
3+
pull_request:
4+
branches:
5+
- "release-*"
6+
7+
workflow_dispatch:
8+
9+
env:
10+
python-version: "3.11"
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
outputs:
16+
artifact-name: ${{ steps.build.outputs.artifact-name }}
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: ./.github/actions/build-python-package
20+
id: build
21+
with:
22+
python-version: ${{ env.python-version }}
23+
24+
build_conda:
25+
runs-on: ubuntu-latest
26+
timeout-minutes: 15
27+
needs: ['build']
28+
continue-on-error: true
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v3
33+
with:
34+
repository: conda-forge/emsarray-feedstock
35+
path: emsarray-feedstock
36+
37+
- uses: ./.github/actions/environment
38+
with:
39+
python-version: ${{ env.python-version }}
40+
package-artifact-name: ${{ needs.build.outputs.artifact-name }}
41+
42+
- run: |
43+
conda install conda-build
44+
./scripts/build-local-conda-package.sh

0 commit comments

Comments
 (0)