File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -78,14 +78,16 @@ jobs:
7878 pixi run conda-build
7979 mkdir -p /tmp/local-channel/linux-64
8080 cp *.conda /tmp/local-channel/linux-64
81+ # extract version from the package file name "quicknxs-<version>-<build>.conda"
82+ echo "PKG_VERSION=$(ls *.conda | cut -d'-' -f2)" >> $GITHUB_ENV
8183
8284 - name : Verify Conda Package
8385 uses : neutrons/conda-verify@v0.1.2
8486 with :
8587 python-version : " 3.11"
8688 local-channel : /tmp/local-channel
87- package-name : ${{ env.PKG_NAME }}
88- extra-channels : mantid-ornl mantid neutrons oncat
89+ package-name : ${{ env.PKG_NAME }}=${{ env.PKG_VERSION }} # install exact version
90+ extra-channels : neutrons mantid oncat
8991 extra-commands : |
9092 python -c "import mr_reduction"
9193 python -c "import mantid"
You can’t perform that action at this time.
0 commit comments