|
95 | 95 | id: gitversion
|
96 | 96 | uses: gittools/actions/gitversion/[email protected]
|
97 | 97 | - name: 'Set up JDK ${{ matrix.jdk }}'
|
98 |
| - uses: oracle-actions/setup-java@v1 |
| 98 | + uses: oracle-actions/setup-java@v1.3.3 |
99 | 99 | with:
|
100 | 100 | website: jdk.java.net
|
101 | 101 | release: ${{ matrix.jdk }}
|
@@ -193,13 +193,13 @@ jobs:
|
193 | 193 | echo "${{ secrets.buildJabRefPrivateKey }}" > sshkey
|
194 | 194 | chmod 600 sshkey
|
195 | 195 | - 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') |
197 | 197 | shell: cmd
|
198 | 198 | # for rsync installed by chocolatey, we need the ssh.exe delivered with that installation
|
199 | 199 | run: |
|
200 | 200 | 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/
|
201 | 201 | - 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') |
203 | 203 | shell: bash
|
204 | 204 | run: |
|
205 | 205 | 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