File tree 3 files changed +12
-12
lines changed
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 13
13
os : [ubuntu-20.04]
14
14
15
15
steps :
16
- - uses : actions/checkout@v1
16
+ - uses : actions/checkout@v4
17
17
- name : setup
18
18
run : |
19
19
sudo apt update
@@ -37,15 +37,15 @@ jobs:
37
37
- name : deploy
38
38
if : github.ref == 'refs/heads/main'
39
39
env :
40
- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
40
+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
41
41
build_dir : " Build"
42
42
package : SpectrumViewer-linux
43
43
run : |
44
44
plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)
45
- tag=$(git describe --tags $(git rev-list --tags --max-count=1) )
45
+ tag=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+" )
46
46
new_plugin_ver=$tag-API$plugin_api
47
47
mkdir plugins
48
48
cp -r $build_dir/*.so plugins
49
49
zipfile=${package}_${new_plugin_ver}.zip
50
50
zip -r -X $zipfile plugins
51
- curl -H "X-JFrog-Art-Api:$artifactoryApiKey " -T $zipfile "https://openephys.jfrog.io/artifactory/SpectrumViewer-plugin/linux/$zipfile"
51
+ curl -H "X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN " -T $zipfile "https://openephys.jfrog.io/artifactory/SpectrumViewer-plugin/linux/$zipfile"
Original file line number Diff line number Diff line change 13
13
os : [macos-latest]
14
14
15
15
steps :
16
- - uses : actions/checkout@v1
16
+ - uses : actions/checkout@v4
17
17
- name : setup
18
18
run : |
19
19
cd ../..
@@ -35,15 +35,15 @@ jobs:
35
35
- name : deploy
36
36
if : github.ref == 'refs/heads/main'
37
37
env :
38
- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
38
+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
39
39
build_dir : " Build/Release"
40
40
package : SpectrumViewer-mac
41
41
run : |
42
42
plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]" | tail -1)
43
- tag=$(git describe --tags $(git rev-list --tags --max-count=1) )
43
+ tag=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+" )
44
44
new_plugin_ver=$tag-API$plugin_api
45
45
mkdir plugins
46
46
cp -r $build_dir/*.bundle plugins
47
47
zipfile=${package}_${new_plugin_ver}.zip
48
48
zip -r -X $zipfile plugins
49
- curl -H "X-JFrog-Art-Api:$artifactoryApiKey " -T $zipfile "https://openephys.jfrog.io/artifactory/SpectrumViewer-plugin/mac/$zipfile"
49
+ curl -H "X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN " -T $zipfile "https://openephys.jfrog.io/artifactory/SpectrumViewer-plugin/mac/$zipfile"
Original file line number Diff line number Diff line change 13
13
os : [windows-2019]
14
14
15
15
steps :
16
- - uses : actions/checkout@v1
16
+ - uses : actions/checkout@v4
17
17
- name : setup
18
18
env :
19
19
repo : open-ephys-gui
@@ -56,16 +56,16 @@ jobs:
56
56
- name : deploy
57
57
if : github.ref == 'refs/heads/main'
58
58
env :
59
- artifactoryApiKey : ${{ secrets.artifactoryApiKey }}
59
+ ARTIFACTORY_ACCESS_TOKEN : ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
60
60
build_dir : " Build/Release"
61
61
package : SpectrumViewer-windows
62
62
run : |
63
63
plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)
64
- tag=$(git describe --tags $(git rev-list --tags --max-count=1) )
64
+ tag=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+" )
65
65
new_plugin_ver=$tag-API$plugin_api
66
66
mkdir plugins
67
67
cp -v $build_dir/*.dll plugins
68
68
zipfile=${package}_${new_plugin_ver}.zip
69
69
powershell Compress-Archive -Path "plugins" -DestinationPath ${zipfile}
70
- curl -H "X-JFrog-Art-Api:$artifactoryApiKey " -T $zipfile "https://openephys.jfrog.io/artifactory/SpectrumViewer-plugin/windows/$zipfile"
70
+ curl -H "X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN " -T $zipfile "https://openephys.jfrog.io/artifactory/SpectrumViewer-plugin/windows/$zipfile"
71
71
shell : bash
You can’t perform that action at this time.
0 commit comments