Skip to content

Commit 7203602

Browse files
committed
Update GHA workflows
1 parent 6292cc1 commit 7203602

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: deploy
4444
if: github.ref == 'refs/heads/testing-juce8'
4545
env:
46-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
46+
ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
4747
build_dir: "Build"
4848
repo: ${{ github.event.repository.name }}
4949
package: OpenEphysFFTW-linux
@@ -56,4 +56,4 @@ jobs:
5656
cp -r libs/linux/bin/* shared
5757
zipfile=${package}_${new_plugin_ver}.zip
5858
zip -r -X $zipfile shared
59-
curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T $zipfile "https://openephys.jfrog.io/artifactory/OpenEphysFFTW-plugin/linux/$zipfile"
59+
curl -H "X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" -T $zipfile "https://openephys.jfrog.io/artifactory/OpenEphysFFTW-plugin/linux/$zipfile"

.github/workflows/mac.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
cd ../..
3232
git clone https://github.com/open-ephys/plugin-GUI.git --branch $GUI_BRANCH
3333
cd plugin-GUI/Build && cmake -G "Xcode" ..
34-
- uses: maxim-lobanov/setup-xcode@v1
35-
with:
36-
xcode-version: latest-stable
3734
- name: build
3835
run: |
3936
cd Build
@@ -44,7 +41,7 @@ jobs:
4441
- name: deploy
4542
if: github.ref == 'refs/heads/testing-juce8'
4643
env:
47-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
44+
ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
4845
MACOS_CERTIFICATE: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
4946
MACOS_CERTIFICATE_PWD: ${{ secrets.BUILD_CERTIFICATE_PWD }}
5047
MACOS_CERTIFICATE_NAME: ${{ secrets.BUILD_CERTIFICATE_NAME }}
@@ -81,4 +78,4 @@ jobs:
8178
8279
zipfile=${package}_${new_plugin_ver}.zip
8380
zip -r -X $zipfile shared
84-
curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T $zipfile "https://openephys.jfrog.io/artifactory/OpenEphysFFTW-plugin/mac/$zipfile"
81+
curl -H "X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" -T $zipfile "https://openephys.jfrog.io/artifactory/OpenEphysFFTW-plugin/mac/$zipfile"

.github/workflows/windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
os: [windows-2019]
13+
os: [windows-latest]
1414

1515
steps:
1616
- uses: actions/checkout@v4
@@ -34,15 +34,15 @@ jobs:
3434
cd ../..
3535
git clone https://github.com/open-ephys/plugin-GUI.git --branch $GUI_BRANCH
3636
cd plugin-GUI/Build
37-
cmake -G "Visual Studio 16 2019" -A x64 ..
37+
cmake -G "Visual Studio 17 2022" -A x64 ..
3838
mkdir Release && cd Release
39-
curl -L https://openephysgui.jfrog.io/artifactory/Libraries/open-ephys-lib-$GUI_LIB_VERSION.zip --output open-ephys-lib.zip
39+
curl -L https://openephys.jfrog.io/artifactory/GUI-binaries/Libraries/open-ephys-lib-$GUI_LIB_VERSION.zip --output open-ephys-lib.zip
4040
unzip open-ephys-lib.zip
4141
shell: bash
4242
- name: configure
4343
run: |
4444
cd Build
45-
cmake -G "Visual Studio 16 2019" -A x64 ..
45+
cmake -G "Visual Studio 17 2022" -A x64 ..
4646
shell: bash
4747
- name: Add msbuild to PATH
4848
uses: microsoft/setup-msbuild@v2
@@ -56,7 +56,7 @@ jobs:
5656
- name: deploy
5757
if: github.ref == 'refs/heads/testing-juce8'
5858
env:
59-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
59+
ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
6060
build_dir: "Build/Release"
6161
package: OpenEphysFFTW-windows
6262
run: |
@@ -71,5 +71,5 @@ jobs:
7171
fi
7272
zipfile=${package}_${new_plugin_ver}.zip
7373
powershell Compress-Archive -Path "shared" -DestinationPath ${zipfile}
74-
curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T $zipfile "https://openephys.jfrog.io/artifactory/OpenEphysFFTW-plugin/windows/$zipfile"
74+
curl -H "X-JFrog-Art-Api:$ARTIFACTORY_ACCESS_TOKEN" -T $zipfile "https://openephys.jfrog.io/artifactory/OpenEphysFFTW-plugin/windows/$zipfile"
7575
shell: bash

0 commit comments

Comments
 (0)