diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9e4ff093c..11db27ca2 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -34,20 +34,20 @@ jobs: - name: deploy_dev if: github.ref == 'refs/heads/development-juce8' 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-v1.0.0-dev-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/1.0.0-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/1.0.0-dev/linux/$zipfile" shell: bash - name: deploy_preview if: github.ref_type == 'refs/heads/testing-juce8' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) @@ -56,8 +56,8 @@ jobs: cp ../LICENSE open-ephys zipfile=open-ephys-v1.0.0-alpha.1-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/1.0.0-alpha/linux/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/1.0.0-alpha/linux/$zipfile" cd ../Resources/Installers/Linux/Open-Ephys_Installer mkdir -p usr/local/bin/open-ephys-gui @@ -67,5 +67,5 @@ jobs: dpkg-deb --build Open-Ephys_Installer installer=open-ephys-gui-v1.0.0-alpha.1.deb mv -v Open-Ephys_Installer.deb $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/1.0.0-alpha/linux/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/1.0.0-alpha/linux/$installer" shell: bash diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 880866832..c296e46d5 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -38,7 +38,7 @@ jobs: - name: deploy_dev if: github.ref == 'refs/heads/development-juce8' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} MACOS_CERTIFICATE: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} MACOS_CERTIFICATE_PWD: ${{ secrets.BUILD_CERTIFICATE_PWD }} MACOS_CERTIFICATE_NAME: ${{ secrets.BUILD_CERTIFICATE_NAME }} @@ -95,12 +95,12 @@ jobs: zipfile=open-ephys-v1.0.0-dev-mac.zip /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys $zipfile - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/1.0.0-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/1.0.0-dev/mac/$zipfile" - name: deploy_preview if: github.ref_type == 'refs/heads/testing-juce8' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} MACOS_CERTIFICATE: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} MACOS_CERTIFICATE_PWD: ${{ secrets.BUILD_CERTIFICATE_PWD }} MACOS_CERTIFICATE_NAME: ${{ secrets.BUILD_CERTIFICATE_NAME }} @@ -157,8 +157,8 @@ jobs: zipfile=open-ephys-v1.0.0-alpha.1-mac.zip /usr/bin/ditto -c -k --sequesterRsrc --keepParent open-ephys $zipfile - user_info="X-JFrog-Art-Api:$artifactoryApiKey" - curl -H $user_info -T $zipfile "https://openephysgui.jfrog.io/artifactory/1.0.0-alpha/mac/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/1.0.0-alpha/mac/$zipfile" # Create a DMG installer brew install create-dmg && create-dmg \ @@ -183,4 +183,4 @@ jobs: echo "Attach staple to DMG" xcrun stapler staple $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/1.0.0-alpha/mac/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/1.0.0-alpha/mac/$installer" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 560d60f2b..7882c98d0 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-juce8' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | cd Build cp -r Release open-ephys @@ -49,13 +49,13 @@ jobs: gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) zipfile=open-ephys-v1.0.0-dev-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/1.0.0-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/1.0.0-dev/windows/$zipfile" shell: bash - name: deploy_preview if: github.ref_type == 'refs/heads/testing-juce8' env: - artifactoryApiKey: ${{ secrets.artifactoryApiKey }} + ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} run: | cd Build cp -r Release open-ephys @@ -68,8 +68,8 @@ jobs: gui_ver=$(git describe --tags $(git rev-list --tags --max-count=1)) zipfile=open-ephys-v1.0.0-alpha.1-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/1.0.0-alpha/windows/$zipfile" + user_info="X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" + curl -H $user_info -T $zipfile "https://openephys.jfrog.io/artifactory/GUI-binaries/1.0.0-alpha/windows/$zipfile" cd open-ephys rm -f msvcp140.dll vcruntime140.dll vcruntime140_1.dll @@ -77,5 +77,5 @@ jobs: iscc "windows_installer_script.iss" installer=Install-Open-Ephys-GUI-v1.0.0-alpha.1.exe mv Open-Ephys_Installer.exe $installer - curl -H $user_info -T $installer "https://openephysgui.jfrog.io/artifactory/1.0.0-alpha/windows/$installer" + curl -H $user_info -T $installer "https://openephys.jfrog.io/artifactory/GUI-binaries/1.0.0-alpha/windows/$installer" shell: bash