File tree 3 files changed +16
-3
lines changed
3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Build
3
3
on :
4
4
workflow_call :
5
5
6
+ defaults :
7
+ run :
8
+ shell : bash -l {0} # required for conda env
9
+
6
10
jobs :
7
11
formatting :
8
12
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -2,18 +2,25 @@ name: Deploy
2
2
3
3
on :
4
4
workflow_call :
5
+ secrets :
6
+ anaconda_token :
7
+ required : true
8
+
9
+ defaults :
10
+ run :
11
+ shell : bash -l {0} # required for conda env
5
12
6
13
jobs :
7
14
deploy :
8
15
runs-on : ubuntu-latest
9
16
env :
10
17
conda_label : ${{ startsWith(github.ref, 'refs/tags/') && 'main' || 'dev' }}
11
18
steps :
12
- - uses : actions/checkout@v2 # Need to checkout repo so github-pages-deploy-action works
13
- - uses : actions/download-artifact@v2
14
19
- uses : conda-incubator/setup-miniconda@v2
15
20
- run : conda install -c conda-forge --yes anaconda-client
16
- - run : anaconda --token ${{ secrets.ANACONDATOKEN }} upload --user scipp --label ${{ env.conda_label }} $(ls conda-package-*/*/*.tar.bz2)
21
+ - uses : actions/checkout@v2 # Need to checkout repo so github-pages-deploy-action works
22
+ - uses : actions/download-artifact@v2
23
+ - run : anaconda --token ${{ secrets.anaconda_token }} upload --user scipp --label ${{ env.conda_label }} $(ls conda-package-*/*/*.tar.bz2)
17
24
18
25
-
uses :
JamesIves/[email protected]
19
26
with :
Original file line number Diff line number Diff line change 14
14
deploy :
15
15
needs : build
16
16
uses : scipp/ess/.github/workflows/deploy.yml@main
17
+ secrets :
18
+ anaconda_token : ${{ secrets.ANACONDATOKEN }}
You can’t perform that action at this time.
0 commit comments