Skip to content

Commit aceaa5a

Browse files
committed
Update workflows to use ARTIFACTORY_ACCESS_TOKEN
1 parent 28b16e3 commit aceaa5a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ jobs:
6767
- name: deploy
6868
if: github.ref == 'refs/heads/testing-juce8'
6969
env:
70-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
70+
secrets.ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.secrets.ARTIFACTORY_ACCESS_TOKEN }}
7171
run: |
72-
curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T ${{ env.zipfile }} "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/linux/${{ env.zipfile }}"
72+
curl -H "X-JFrog-Art-Api:$secrets.ARTIFACTORY_ACCESS_TOKEN" -T ${{ env.zipfile }} "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/linux/${{ env.zipfile }}"

.github/workflows/mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ jobs:
115115
- name: deploy
116116
if: github.ref == 'refs/heads/testing-juce8'
117117
env:
118-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
118+
secrets.ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.secrets.ARTIFACTORY_ACCESS_TOKEN }}
119119
run: |
120-
curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T ${{ env.zipfile }} "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/mac/${{ env.zipfile }}"
120+
curl -H "X-JFrog-Art-Api:$secrets.ARTIFACTORY_ACCESS_TOKEN" -T ${{ env.zipfile }} "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/mac/${{ env.zipfile }}"

.github/workflows/windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
cd plugin-GUI/Build
4242
cmake -G "Visual Studio 17 2022" -A x64 ..
4343
mkdir Release && cd Release
44-
curl -L https://openephysgui.jfrog.io/artifactory/Libraries/open-ephys-lib-$GUI_LIB_VERSION.zip --output open-ephys-lib.zip
44+
curl -L https://openephys.jfrog.io/artifactory/GUI-binaries/Libraries/open-ephys-lib-$GUI_LIB_VERSION.zip --output open-ephys-lib.zip
4545
unzip open-ephys-lib.zip
4646
shell: bash
4747
- name: configure
@@ -82,7 +82,7 @@ jobs:
8282
- name: deploy
8383
if: github.ref == 'refs/heads/testing-juce8'
8484
env:
85-
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
85+
secrets.ARTIFACTORY_ACCESS_TOKEN: ${{ secrets.secrets.ARTIFACTORY_ACCESS_TOKEN }}
8686
run: |
87-
curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T ${{ env.zipfile }} "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/windows/${{ env.zipfile }}"
87+
curl -H "X-JFrog-Art-Api:$secrets.ARTIFACTORY_ACCESS_TOKEN" -T ${{ env.zipfile }} "https://openephys.jfrog.io/artifactory/PythonProcessor-plugin/windows/${{ env.zipfile }}"
8888
shell: bash

0 commit comments

Comments
 (0)