-
Notifications
You must be signed in to change notification settings - Fork 461
49 lines (43 loc) · 1.34 KB
/
conda-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: 'Conda Deployment Pipeline'
on:
push:
branches:
- 'dev'
paths-ignore:
- 'LICENSE'
- 'README.rst'
- 'docs/**'
- 'share/**'
- 'vs-build/**'
jobs:
update-dev:
if: github.repository_owner == 'OpenFAST'
runs-on: ubuntu-20.04
steps:
# - name: Echo path
# run: |
# echo ${{runner.workspace}} # /home/runner/work/openfast
# echo $GITHUB_WORKSPACE # /home/runner/work/openfast/openfast
- name: Checkout OpenFAST/dev
uses: actions/checkout@main
with:
path: ${{runner.workspace}}/openfast
ref: dev
- name: Checkout openfast-feedstock
uses: actions/checkout@main
with:
repository: conda-forge/openfast-feedstock
token: ${{ secrets.ACTIONS_TOKEN }}
path: ./openfast-feedstock
ref: dev
- name: Prep the meta.yaml
run: python ${{runner.workspace}}/openfast/.github/actions/utils/increment_conda_build.py
working-directory: ./openfast-feedstock/recipe
- name: Push Project B
run: |
cd ./openfast-feedstock
git add recipe/meta.yaml
git config user.name github-actions
git config user.email github-actions@github.com
git commit -m "Increment build number for dev label"
git push