File tree Expand file tree Collapse file tree 2 files changed +29
-13
lines changed
actions/publish-pypi-package Expand file tree Collapse file tree 2 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 23
23
run : |
24
24
conda activate build-env-pypi
25
25
python -m build
26
- twine upload -u __token__ -p ${{ inputs.token }} dist/*
26
+ conda deactivate
27
+
28
+ - name : Test basic functunality
29
+ shell : bash -l {0}
30
+ run : |
31
+ conda create -n build-mvesuvio-test mantid/label/nightly::mantidworkbench
32
+ conda activate build-mvesuvio-test
33
+ pip install dist/*.tar.gz
34
+ mvesuvio config
35
+ mvesuvio run
36
+ conda deactivate
37
+
38
+ - name : Upload package
39
+ shell : bash -l {0}
40
+ run : |
41
+ conda activate build-env-pypi
42
+ # twine upload -u __token__ -p ${{ inputs.token }} dist/*
Original file line number Diff line number Diff line change 1
1
name : Deploy mvesuvio nightly
2
2
3
- on :
4
- workflow_run :
5
- workflows : ["mvesuvio nightly build"]
6
- branches : [main]
7
- types :
8
- - completed
3
+ on : push
4
+ # workflow_run:
5
+ # workflows: ["mvesuvio nightly build"]
6
+ # branches: [main]
7
+ # types:
8
+ # - completed
9
9
10
10
jobs :
11
11
build_conda_and_upload :
@@ -34,12 +34,12 @@ jobs:
34
34
environment-file : environment.yml
35
35
auto-activate-base : false
36
36
37
- - name : Build mvesuvio nightly conda package
38
- if : ${{ env.recentCommits == 'true'}}
39
- uses : ./.github/actions/publish-conda-package
40
- with :
41
- label : nightly
42
- token : ${{ secrets.ANACONDA_API_TOKEN }}
37
+ # - name: Build mvesuvio nightly conda package
38
+ # if: ${{ env.recentCommits == 'true'}}
39
+ # uses: ./.github/actions/publish-conda-package
40
+ # with:
41
+ # label: nightly
42
+ # token: ${{ secrets.ANACONDA_API_TOKEN }}
43
43
44
44
- name : Build mvesuvio nightly PyPI package
45
45
if : ${{ env.recentCommits == 'true'}}
You can’t perform that action at this time.
0 commit comments