diff --git a/.github/workflows/deployment-arm64.yml b/.github/workflows/deployment-arm64.yml index 260272637ac..efe9e0aea61 100644 --- a/.github/workflows/deployment-arm64.yml +++ b/.github/workflows/deployment-arm64.yml @@ -96,7 +96,7 @@ jobs: create-keychain: false keychain-password: jabref - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Prepare merged jars and modules dir (macOS) run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" prepareModulesDir - name: Build dmg (macOS) @@ -167,7 +167,7 @@ jobs: # macOS: Negated condition of "Upload to GitHub workflow artifacts store (macOS)" # Reason: We either upload the non-notarized files - or notarize the files later (and upload these later) # needs to be on one line; multi line does not work - if: ${{ (!startsWith(github.ref, 'refs/heads/gh-readonly-queue')) && (steps.checksecrets.outputs.secretspresent == 'YES') && ((matrix.os == 'ubuntu-latest') || ((matrix.os == 'macos-14') && !((startsWith(github.ref, 'refs/tags/') || inputs.notarization == true)))) }} + if: ${{ (!startsWith(github.ref, 'refs/heads/gh-readonly-queue')) && (steps.checksecrets.outputs.secretspresent == 'YES') && ((matrix.os == 'ubuntu-latest') || ((matrix.os == 'macos-14') && !((startsWith(github.ref, 'refs/tags/') || inputs.notarization == true)))) }} shell: bash run: | 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/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' build/distribution/ jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 946ff277c5e..28bb010fff5 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -95,7 +95,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Prepare merged jars and modules dir (macOS) if: (matrix.os == 'macos-latest') || (steps.checksecrets.outputs.secretspresent == 'NO') run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" prepareModulesDir diff --git a/.github/workflows/refresh-journal-lists.yml b/.github/workflows/refresh-journal-lists.yml index ca50dc8ffa0..86409dff7b1 100644 --- a/.github/workflows/refresh-journal-lists.yml +++ b/.github/workflows/refresh-journal-lists.yml @@ -33,7 +33,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Check whether journal-list.mv can be generated (the "real" generation is done inside JabRef's build process) run: | ./gradlew generateJournalListMV diff --git a/.github/workflows/tests-fetchers.yml b/.github/workflows/tests-fetchers.yml index 2a88b5d9e53..baf2abc1dfa 100644 --- a/.github/workflows/tests-fetchers.yml +++ b/.github/workflows/tests-fetchers.yml @@ -51,7 +51,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Run fetcher tests run: ./gradlew fetcherTest env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8b3eef04001..3070c02b51c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,7 +47,7 @@ jobs: checkstyle_config: 'config/checkstyle/checkstyle_reviewdog.xml' checkstyle_version: '10.3' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Run checkstyle using gradle run: ./gradlew checkstyleMain checkstyleTest checkstyleJmh openrewrite: @@ -65,7 +65,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Run OpenRewrite run: | ./gradlew rewriteDryRun @@ -84,7 +84,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Run modernizer run: | # enable failing of this task if modernizer complains @@ -166,7 +166,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Run tests run: xvfb-run --auto-servernum ./gradlew check -x checkstyleJmh -x checkstyleMain -x checkstyleTest -x modernizer env: @@ -202,7 +202,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Run tests on PostgreSQL run: ./gradlew databaseTest --rerun-tasks env: @@ -240,7 +240,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Run GUI tests run: xvfb-run --auto-servernum ./gradlew guiTest env: @@ -285,7 +285,7 @@ jobs: java-version: 21.0.2 distribution: 'liberica' - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 - name: Update test coverage metrics if: (github.ref == 'refs/heads/main') && (steps.checksecrets.outputs.secretspresent == 'YES') run: xvfb-run --auto-servernum ./gradlew jacocoTestReport