Skip to content

Commit 9bf26cf

Browse files
committed
Preserve artifact path
1 parent cf0612c commit 9bf26cf

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
conda-build
3131
- run: conda build --channel conda-forge --channel scipp --channel ess-dmsc --channel mantid --python=3.8 --no-anaconda-upload --override-channels --output-folder conda/package conda
3232

33-
- uses: actions/upload-artifact@v2
33+
- uses: actions/upload-artifact@v3
3434
with:
3535
name: conda-package-noarch
3636
path: conda/package/*/scippneutron*.tar.bz2
@@ -49,7 +49,7 @@ jobs:
4949
- name: Check metadata
5050
run: pipx run twine check dist/*
5151

52-
- uses: actions/upload-artifact@v2
52+
- uses: actions/upload-artifact@v3
5353
with:
5454
name: dist
5555
path: dist/*.tar.gz
@@ -74,7 +74,7 @@ jobs:
7474
run: python -m build
7575

7676
- name: Upload wheels
77-
uses: actions/upload-artifact@v2
77+
uses: actions/upload-artifact@v3
7878
with:
7979
name: dist
8080
path: dist
@@ -92,16 +92,17 @@ jobs:
9292
environment-file: .buildconfig/ci-linux.yml
9393
cache-env: true
9494
extra-specs: python=3.8
95-
- uses: actions/download-artifact@v2
95+
- uses: actions/download-artifact@v3
9696
with:
9797
name: conda-package-noarch
98+
path: conda-package-noarch
9899
- run: conda install conda-package*/*/*.tar.bz2
99100
# - run: conda install conda-package-*/*/*.tar.bz2
100101
- run: |
101102
python -m sphinx -j2 -v -b html -d doctrees docs html
102103
python -m sphinx -j2 -v -b doctest -d doctrees docs html
103104
find html -type f -name "*.ipynb" -not -path "html/_sources/*" -delete
104-
- uses: actions/upload-artifact@v2
105+
- uses: actions/upload-artifact@v3
105106
with:
106107
name: docs_html
107108
path: html/
@@ -113,7 +114,7 @@ jobs:
113114
if: github.event_name == 'release' && github.event.action == 'published'
114115

115116
steps:
116-
- uses: actions/download-artifact@v2
117+
- uses: actions/download-artifact@v3
117118
# - uses: actions/setup-python@v3
118119
# - uses: pypa/[email protected]
119120
# with:
@@ -127,9 +128,10 @@ jobs:
127128
if: github.event_name == 'release' && github.event.action == 'published'
128129

129130
steps:
130-
- uses: actions/download-artifact@v2
131+
- uses: actions/download-artifact@v3
131132
with:
132133
name: conda-package-noarch
134+
path: conda-package-noarch
133135
- uses: conda-incubator/setup-miniconda@v2
134136
- run: conda install -c conda-forge --yes anaconda-client
135137
- run: anaconda --token ${{ secrets.ANACONDATOKEN }} upload --user scipp --label main $(ls conda-package-*/*/*.tar.bz2)
@@ -146,7 +148,7 @@ jobs:
146148

147149
steps:
148150
- uses: actions/checkout@v3 # Need to check out repo so github-pages-deploy-action works
149-
- uses: actions/download-artifact@v2
151+
- uses: actions/download-artifact@v3
150152
with:
151153
name: docs_html
152154
- name: Deploy to release docs

0 commit comments

Comments
 (0)