Skip to content

Commit bcdf31d

Browse files
authored
Try to debug new oracle action version (#11067)
* Try to debug new oracle runner * Revert "Try to debug new oracle runner" This reverts commit 434d228. * Downgrade oracle/setup-java * Add checks for upload
1 parent 7fe254d commit bcdf31d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deployment-jdk-ea.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
id: gitversion
9696
uses: gittools/actions/gitversion/[email protected]
9797
- name: 'Set up JDK ${{ matrix.jdk }}'
98-
uses: oracle-actions/setup-java@v1
98+
uses: oracle-actions/setup-java@v1.3.3
9999
with:
100100
website: jdk.java.net
101101
release: ${{ matrix.jdk }}
@@ -193,13 +193,13 @@ jobs:
193193
echo "${{ secrets.buildJabRefPrivateKey }}" > sshkey
194194
chmod 600 sshkey
195195
- name: Upload to builds.jabref.org (Windows)
196-
if: (matrix.os == 'windows-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
196+
if: (matrix.os == 'windows-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (github.ref == 'refs/heads/main')
197197
shell: cmd
198198
# for rsync installed by chocolatey, we need the ssh.exe delivered with that installation
199199
run: |
200200
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/jdk-ea && rsync" -e 'C:\ProgramData\chocolatey\lib\rsync\tools\bin\ssh.exe -p 9922 -i sshkey -o StrictHostKeyChecking=no' build/distribution/ [email protected]:/var/www/builds.jabref.org/www/jdk-ea/
201201
- name: Upload to builds.jabref.org (linux, macOS)
202-
if: (matrix.os != 'windows-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
202+
if: (matrix.os != 'windows-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (github.ref == 'refs/heads/main')
203203
shell: bash
204204
run: |
205205
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/jdk-ea && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' build/distribution/ [email protected]:/var/www/builds.jabref.org/www/jdk-ea/

0 commit comments

Comments
 (0)