1- # SPDX-License-Identifier: BSD-3-Clause
2- # Copyright (c) 2023 Scipp contributors (https://github.com/scipp)
3-
41name : Release
52
63on :
1815 runs-on : ' ubuntu-22.04'
1916
2017 steps :
21- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v4
2219 with :
2320 submodules : true
2421 fetch-depth : 0 # history required so setuptools_scm can determine version
3128 boa
3229 - run : conda mambabuild --channel conda-forge --channel scipp --no-anaconda-upload --override-channels --output-folder conda/package conda
3330
34- - uses : actions/upload-artifact@v3
31+ - uses : actions/upload-artifact@v4
3532 with :
3633 name : conda-package-noarch
3734 path : conda/package/noarch/*.tar.bz2
@@ -41,11 +38,11 @@ jobs:
4138 runs-on : ' ubuntu-22.04'
4239
4340 steps :
44- - uses : actions/checkout@v3
41+ - uses : actions/checkout@v4
4542 with :
4643 fetch-depth : 0 # history required so setuptools_scm can determine version
4744
48- - uses : actions/setup-python@v4
45+ - uses : actions/setup-python@v5
4946 with :
5047 python-version-file : ' .github/workflows/python-version-ci'
5148
5653 run : python -m build
5754
5855 - name : Upload wheels
59- uses : actions/upload-artifact@v3
56+ uses : actions/upload-artifact@v4
6057 with :
6158 name : dist
6259 path : dist
7067 id-token : write
7168 if : github.event_name == 'release' && github.event.action == 'published'
7269 steps :
73- - uses : actions/download-artifact@v3
74- 70+ - uses : actions/download-artifact@v4
71+ 7572
7673 upload_conda :
7774 name : Deploy Conda
8077 if : github.event_name == 'release' && github.event.action == 'published'
8178
8279 steps :
83- - uses : actions/download-artifact@v3
80+ - uses : actions/download-artifact@v4
8481 - uses : mamba-org/setup-micromamba@v1
8582 with :
8683 environment-name : upload-env
@@ -104,7 +101,7 @@ jobs:
104101 permissions :
105102 contents : write # This is needed so that the action can upload the asset
106103 steps :
107- - uses : actions/download-artifact@v3
104+ - uses : actions/download-artifact@v4
108105 - name : Zip documentation
109106 run : |
110107 mv docs_html documentation-${{ github.ref_name }}
0 commit comments