diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 643549a6c..d554bb1c0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -31,15 +31,15 @@ jobs: - name: deploy_dev if: github.ref == 'refs/heads/development' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | cd Build cp -r Release open-ephys cp ../LICENSE open-ephys zipfile=open-ephys-latest-linux-dev.zip zip -r $zipfile open-ephys - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Dev/linux/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Dev/linux/$zipfile" cd ../Resources/Installers/Linux/Open-Ephys_Installer mkdir -p usr/local/bin/open-ephys-gui cp -r ../../../../Build/Release/* usr/local/bin/open-ephys-gui @@ -48,12 +48,12 @@ jobs: dpkg-deb --build Open-Ephys_Installer installer=open-ephys-gui-latest-dev.deb mv -v Open-Ephys_Installer.deb $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Dev-Installer/linux/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Dev-Installer/linux/$installer" shell: bash - name: deploy_test if: github.ref == 'refs/heads/testing' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) cd Build @@ -61,8 +61,8 @@ jobs: cp ../LICENSE open-ephys zipfile=open-ephys-${gui_ver}-linux-beta.zip zip -r $zipfile open-ephys - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Test/linux/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Test/linux/$zipfile" cd ../Resources/Installers/Linux/Open-Ephys_Installer mkdir -p usr/local/bin/open-ephys-gui cp -r ../../../../Build/Release/* usr/local/bin/open-ephys-gui @@ -71,12 +71,12 @@ jobs: dpkg-deb --build Open-Ephys_Installer installer=open-ephys-gui-${gui_ver}-beta.deb mv -v Open-Ephys_Installer.deb $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Test-Installer/linux/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Test-Installer/linux/$installer" shell: bash - name: deploy_release if: github.ref == 'refs/heads/main' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) cd Build @@ -84,8 +84,8 @@ jobs: cp ../LICENSE open-ephys zipfile=open-ephys-${gui_ver}-linux.zip zip -r $zipfile open-ephys - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Release/linux/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Release/linux/$zipfile" cd ../Resources/Installers/Linux/Open-Ephys_Installer mkdir -p usr/local/bin/open-ephys-gui cp -r ../../../../Build/Release/* usr/local/bin/open-ephys-gui @@ -94,5 +94,5 @@ jobs: dpkg-deb --build Open-Ephys_Installer installer=open-ephys-gui-${gui_ver}.deb mv Open-Ephys_Installer.deb $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Release-Installer/linux/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Release-Installer/linux/$installer" shell: bash diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 2e6fe4aeb..e4d652a7b 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -35,15 +35,15 @@ jobs: - name: deploy_dev if: github.ref == 'refs/heads/development' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | zipfile=open-ephys-latest-mac-dev.zip cd Build/Release mkdir open-ephys mv open-ephys.app/ open-ephys zip -r $zipfile open-ephys - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Dev/mac/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Dev/mac/$zipfile" brew install create-dmg && create-dmg \ --volname "Open-Ephys Installer" \ --volicon "open-ephys/open-ephys.app/Contents/Resources/Icon.icns" \ @@ -58,11 +58,11 @@ jobs: "open-ephys/" installer=Open_Ephys_GUI_latest-dev.dmg mv -v Open-Ephys-Installer.dmg $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Dev-Installer/mac/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Dev-Installer/mac/$installer" - name: deploy_test if: github.ref == 'refs/heads/testing' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) zipfile=open-ephys-${gui_ver}-mac-beta.zip @@ -70,8 +70,8 @@ jobs: mkdir open-ephys mv open-ephys.app/ open-ephys zip -r $zipfile open-ephys - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Test/mac/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Test/mac/$zipfile" brew install create-dmg && create-dmg \ --volname "Open-Ephys Installer" \ --volicon "open-ephys/open-ephys.app/Contents/Resources/Icon.icns" \ @@ -86,11 +86,11 @@ jobs: "open-ephys/" installer=Open_Ephys_GUI_${gui_ver}-beta.dmg mv -v Open-Ephys-Installer.dmg $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Test-Installer/mac/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Test-Installer/mac/$installer" - name: deploy_release if: github.ref == 'refs/heads/main' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) zipfile=open-ephys-${gui_ver}-mac.zip @@ -98,8 +98,8 @@ jobs: mkdir open-ephys mv open-ephys.app/ open-ephys zip -r $zipfile open-ephys - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Release/mac/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Release/mac/$zipfile" brew install create-dmg && create-dmg \ --volname "Open-Ephys Installer" \ --volicon "open-ephys/open-ephys.app/Contents/Resources/Icon.icns" \ @@ -114,4 +114,4 @@ jobs: "open-ephys/" installer=Open_Ephys_GUI_${gui_ver}.dmg mv -v Open-Ephys-Installer.dmg $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Release-Installer/mac/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Release-Installer/mac/$installer" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 06d11f681..746813ab8 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -36,7 +36,7 @@ jobs: - name: deploy_dev if: github.ref == 'refs/heads/development' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | cd Build cp -r Release open-ephys @@ -46,18 +46,18 @@ jobs: gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) zipfile=open-ephys-latest-windows-dev.zip powershell Compress-Archive -Path "open-ephys" -DestinationPath ${zipfile} - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Dev/windows/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Dev/windows/$zipfile" cd ../Resources/Installers/Windows iscc "windows_installer_script.iss" installer=Install-Open-Ephys-GUI-latest-dev.exe mv Open-Ephys_Installer.exe $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Dev-Installer/windows/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Dev-Installer/windows/$installer" shell: bash - name: deploy_test if: github.ref == 'refs/heads/testing' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | cd Build cp -r Release open-ephys @@ -67,18 +67,18 @@ jobs: gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) zipfile=open-ephys-${gui_ver}-windows-beta.zip powershell Compress-Archive -Path "open-ephys" -DestinationPath ${zipfile} - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Test/windows/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Test/windows/$zipfile" cd ../Resources/Installers/Windows iscc "windows_installer_script.iss" installer=Install-Open-Ephys-GUI-${gui_ver}-beta.exe mv Open-Ephys_Installer.exe $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Test-Installer/windows/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Test-Installer/windows/$installer" shell: bash - name: deploy_release if: github.ref == 'refs/heads/main' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | cd Build cp -r Release open-ephys @@ -88,11 +88,11 @@ jobs: gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) zipfile=open-ephys-${gui_ver}-windows.zip powershell Compress-Archive -Path "open-ephys" -DestinationPath ${zipfile} - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/Release/windows/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/Release/windows/$zipfile" cd ../Resources/Installers/Windows iscc "windows_installer_script.iss" installer=Install-Open-Ephys-GUI-${gui_ver}.exe mv Open-Ephys_Installer.exe $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/Release-Installer/windows/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/Release-Installer/windows/$installer" shell: bash