File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,12 @@ jobs:
3232 run : |
3333 conda env list
3434 cd Build
35- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DPython_ROOT_DIR="$CONDA/envs/oe-python-plugin" ..
35+ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DPython_ROOT_DIR="$CONDA/envs/oe-python-plugin" -DCOPY_PYTHON_DL=ON ..
3636 make
3737 # - name: test
3838 # run: cd build && ctest
39- - name : deploy
40- if : github.ref == 'refs/heads/main'
39+ - name : package
4140 env :
42- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
4341 build_dir : " Build"
4442 package : PythonProcessor-linux
4543 run : |
4846 new_plugin_ver=$tag-API$plugin_api
4947 mkdir plugins
5048 cp -r $build_dir/*.so plugins
51- zipfile=${package}_${new_plugin_ver}.zip
52- zip -r -X $zipfile plugins
53- curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T $zipfile "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/linux/$zipfile"
49+ echo "zipfile=${package}_${new_plugin_ver}.zip" >> $GITHUB_ENV
50+ zip -r -X ${{ env.zipfile }} plugins $build_dir/shared
51+ - uses : actions/upload-artifact@v3
52+ with :
53+ name : ${{ env.zipfile }}
54+ path : ${{ env.zipfile }}
55+ - name : deploy
56+ if : github.ref == 'refs/heads/main'
57+ env :
58+ artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
59+ run : |
60+ curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T ${{ env.zipfile }} "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/linux/${{ env.zipfile }}"
You can’t perform that action at this time.
0 commit comments