Skip to content

Commit 4194a09

Browse files
authored
Streamline deployment.yml (#10884)
1 parent acad30d commit 4194a09

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/deployment.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ env:
2626
IEEEAPIKey: ${{ secrets.IEEEAPIKey }}
2727
BiodiversityHeritageApiKey: ${{ secrets.BiodiversityHeritageApiKey}}
2828
OSXCERT: ${{ secrets.OSX_SIGNING_CERT }}
29-
GRADLE_OPTS: -Xmx4g -Dorg.gradle.daemon=false -Dorg.gradle.vfs.watch=false
29+
GRADLE_OPTS: -Xmx4g -Dorg.gradle.vfs.watch=false
3030
JAVA_OPTS: -Xmx4g
31-
JDK21: ""
3231

3332
concurrency:
3433
group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}"
@@ -44,14 +43,11 @@ jobs:
4443
- os: ubuntu-latest
4544
displayName: linux
4645
archivePortable: tar -c -C build/distribution JabRef | pigz --rsyncable > build/distribution/JabRef-portable_linux.tar.gz && rm -R build/distribution/JabRef
47-
eaJdk: https://files.jabref.org/jdks/jdk-linux-x64.tar.gz
4846
- os: windows-latest
4947
displayName: windows
5048
archivePortable: 7z a -r build/distribution/JabRef-portable_windows.zip ./build/distribution/JabRef && rm -R build/distribution/JabRef
51-
eaJDK: https://files.jabref.org/jdks/jdk-windows-x64.zip
5249
- os: macos-latest
5350
displayName: macOS
54-
eaJDK: https://files.jabref.org/jdks/jdk-macos-x64.tar.gz
5551
runs-on: ${{ matrix.os }}
5652
outputs:
5753
major: ${{ steps.gitversion.outputs.Major }}
@@ -97,6 +93,7 @@ jobs:
9793
- name: Setup Gradle
9894
uses: gradle/actions/setup-gradle@v3
9995
- name: Prepare merged jars and modules dir (macOS)
96+
# prepareModulesDir is executing a build, which should run through even if no upload to builds.jabref.org is made
10097
if: (matrix.os == 'macos-latest') || (steps.checksecrets.outputs.secretspresent == 'NO')
10198
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" prepareModulesDir
10299
- name: Setup macOS key chain

0 commit comments

Comments
 (0)