Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Windows binaries earlier #10402

Merged
merged 64 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
329b3de
Upload Windows binaries earlier
koppor Sep 19, 2023
67e6ed2
Refine job name
koppor Sep 19, 2023
ec7069e
Try plain rsync
koppor Sep 19, 2023
a5fee7e
I hope, I got the right place now
koppor Sep 19, 2023
f6f5087
Fix "echo" vs. "cat"
koppor Sep 19, 2023
fb3093c
Install rsync on Windows
koppor Sep 19, 2023
30b7c18
Remove non-working "set -e"
koppor Sep 19, 2023
9b0f7ad
Debug
koppor Sep 19, 2023
1689bba
Fix argument
koppor Sep 19, 2023
e1d6c1a
Remove outdated checks
koppor Sep 19, 2023
e27deb0
Fix path
koppor Sep 19, 2023
9c8e3d3
Try different rsync on Windows
koppor Sep 19, 2023
ebb86af
Fix path
koppor Sep 19, 2023
4cf4a8f
Try it live
koppor Sep 19, 2023
6416a36
Merge jobs
koppor Sep 19, 2023
a37430d
Fix host key checking on macOS upload
koppor Sep 19, 2023
c37d2b4
Reuse information from previous job
koppor Sep 19, 2023
7a0ff36
Announce available builds earlier
koppor Sep 19, 2023
82f7e26
Generate journal-list.mv file only if necessary
koppor Sep 19, 2023
915413f
Merge jlinkZip and jpackage calls
koppor Sep 19, 2023
ee5ec93
Merge branch 'main' into speed-up-deployment
koppor Sep 19, 2023
36511c0
Add workaround for badass issue
koppor Sep 19, 2023
803b396
Fix dependency
koppor Sep 19, 2023
8acbe00
Fix dependency
koppor Sep 19, 2023
8019928
Fix condition
koppor Sep 19, 2023
67b0abf
Remove output (causes issues and does not speed up)
koppor Sep 19, 2023
2403af9
Fix casing
koppor Sep 19, 2023
75e6d7c
Comment on PR after *all* builds are uploaded
koppor Sep 19, 2023
db58f46
Try better condition for notarization
koppor Sep 19, 2023
cae9c42
macOS: Upload only one version
koppor Sep 19, 2023
368a810
Use most recent rsync on macOS
koppor Sep 20, 2023
4d333a4
Use GuillaumeFalourd/setup-rsync
koppor Sep 20, 2023
8a70222
Put OS as first in the overview
koppor Sep 20, 2023
2f3f020
Refine step names
koppor Sep 20, 2023
e5f231e
Test new setup rsync
koppor Sep 20, 2023
eec8148
Fix debug
koppor Sep 20, 2023
df62a79
Try other ssh key location
koppor Sep 20, 2023
adeaf8b
Try other shell
koppor Sep 20, 2023
2e0190d
Try ~/sshkey as path
koppor Sep 20, 2023
84f15b2
Revert "Use GuillaumeFalourd/setup-rsync"
koppor Sep 20, 2023
c8aecd2
Merce linux and macos (by smartly merging the conditions
koppor Sep 20, 2023
fc10a8a
Simplify conditions
koppor Sep 20, 2023
512fc24
Try to fix condition
koppor Sep 20, 2023
4483a1b
Try to apply https://maxschmitt.me/posts/github-actions-ssh-key (and …
koppor Sep 20, 2023
61f8f1f
Try runner.temp for ssh key
koppor Sep 20, 2023
bd5ec11
Debug conditions
koppor Sep 20, 2023
0aa935c
Try to debug on Windows, too
koppor Sep 20, 2023
acb341e
Disable large workflow until tests succeed
koppor Sep 20, 2023
7a6fad8
WTF GitHub
koppor Sep 20, 2023
bc44e76
Some more debug
koppor Sep 20, 2023
1368a8f
Remove debug
koppor Sep 20, 2023
73cd78e
Fix condition
koppor Sep 20, 2023
8dbd3f1
Try mixed slashes
koppor Sep 20, 2023
ae34117
Try some slash replacement
koppor Sep 20, 2023
3ef2052
Fix quotes
koppor Sep 20, 2023
1fa9d2f
Remove debug
koppor Sep 20, 2023
c8487a0
rsync setup only if required
koppor Sep 20, 2023
7b1997d
Fix casing
koppor Sep 20, 2023
cfb5ac6
We don't need --partial
koppor Sep 20, 2023
4b3375e
Replace -Pavz by -rt (because we do not need full ownership transfer …
koppor Sep 20, 2023
7fbf77d
Revert "Replace -Pavz by -rt (because we do not need full ownership t…
koppor Sep 20, 2023
d303ba7
Revert "Revert "Replace -Pavz by -rt (because we do not need full own…
koppor Sep 20, 2023
9be1a13
Need to fix permissions at the target side (Windows)
koppor Sep 20, 2023
406b451
Merge branch 'main' into speed-up-deployment
calixtus Sep 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/deployment-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,6 @@ jobs:
if: ${{ !startsWith(github.ref, 'refs/heads/gh-readonly-queue') }}
shell: bash
run: |
mkdir ${{runner.temp}}/sshkey
if [[ -z "${{ secrets.buildJabRefPrivateKey }}" ]]; then
echo "buildJabRefPrivateKey is empty, exiting"
exit 1
fi
rsync -Pavz --itemize-changes --stats --partial-dir=/tmp/partial --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'ssh -p 9922 -i ~/.ssh/id_rsa' build/distribution/ jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/
- name: Upload to GitHub workflow artifacts store
if: ${{ !startsWith(github.ref, 'refs/heads/gh-readonly-queue') }}
Expand Down
236 changes: 100 additions & 136 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ concurrency:
cancel-in-progress: true

jobs:
rsynctest:
runs-on: windows-latest
steps:
- name: Setup rsync
uses: GuillaumeFalourd/setup-rsync@test
- name: Setup ssh key
shell: bash
run: |
echo "${{ secrets.buildJabRefPrivateKey }}" > ~/sshkey
chmod 600 ~/sshkey
mkdir -p build/distribution/
touch build/distribution/test.txt
- name: Upload to builds.jabref.org (Windows)
shell: bash
run: |
rsync -Pavz --itemize-changes --stats --partial-dir=/tmp/partial --rsync-path="mkdir -p /tmp/test && rsync" -e 'ssh -p 9922 -i ~/sshkey -o StrictHostKeyChecking=no' build/distribution/ jrrsync@build-upload.jabref.org:/tmp/test/
build:
strategy:
fail-fast: false
Expand All @@ -53,7 +69,11 @@ jobs:
displayName: macOS
eaJDK: https://files.jabref.org/jdks/jdk-macos-x64.tar.gz
runs-on: ${{ matrix.os }}
name: Create installer and portable version for ${{ matrix.displayName }}
outputs:
major: ${{ steps.gitversion.outputs.Major }}
minor: ${{ steps.gitversion.outputs.Minor }}
branchname: ${{ steps.gitversion.outputs.branchName }}
name: ${{ matrix.displayName }} installer and portable version
steps:
- name: Check secrets presence
id: checksecrets
Expand Down Expand Up @@ -105,7 +125,7 @@ jobs:
cat gradle.properties

sed -i "s/JavaLanguageVersion.of(20)/JavaLanguageVersion.of(21)/" build.gradle
- name: Setup JDK jabref-fix (ubuntu)
- name: Setup JDK jabref-fix (linux)
if: (matrix.os == 'ubuntu-latest')
shell: bash
run: |
Expand Down Expand Up @@ -134,31 +154,24 @@ jobs:
cat gradle.properties

sed -i'.bak' -e "s/JavaLanguageVersion.of(20)/JavaLanguageVersion.of(21)/" build.gradle
- name: Setup OSX key chain (macOS)
- name: Setup macOS key chain
if: (matrix.os == 'macos-latest') && (steps.checksecrets.outputs.secretspresent == 'YES')
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.OSX_SIGNING_CERT }}
p12-password: ${{ secrets.OSX_CERT_PWD }}
keychain-password: jabref
- name: Setup OSX key chain on OSX for app id cert (macOS)
- name: Setup macOS key chain for app id cert
if: (matrix.os == 'macos-latest') && (steps.checksecrets.outputs.secretspresent == 'YES')
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.OSX_SIGNING_CERT_APPLICATION }}
p12-password: ${{ secrets.OSX_CERT_PWD }}
create-keychain: false
keychain-password: jabref
- name: Build runtime image (non-macOS)
if: (matrix.os != 'macos-latest')
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jlinkZip
- name: Prepare merged jars and modules dir (macos)
- name: Prepare merged jars and modules dir (macOS)
if: (matrix.os == 'macos-latest') && (steps.checksecrets.outputs.secretspresent == 'YES')
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" prepareModulesDir
- name: Build installer (non-macos)
if: (matrix.os != 'macos-latest')
shell: bash
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jpackage
- name: Build dmg (macOS)
if: (matrix.os == 'macos-latest') && (steps.checksecrets.outputs.secretspresent == 'YES')
shell: bash
Expand Down Expand Up @@ -209,7 +222,11 @@ jobs:
--resource-dir buildres/mac \
--file-associations buildres/mac/bibtexAssociations.properties \
--jlink-options --bind-services
- name: Package application image (non-macOS)
- name: Build runtime image and installer (linux, Windows)
if: (matrix.os != 'macos-latest')
shell: bash
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jpackage jlinkZip
- name: Package application image (linux, Windows)
if: (matrix.os != 'macos-latest')
shell: bash
run: ${{ matrix.archivePortable }}
Expand All @@ -230,35 +247,50 @@ jobs:
ar -m -c -a sdsd jabref_${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}_amd64_repackaged.deb debian-binary control.tar.xz data.tar.xz
rm debian-binary control.tar.* data.tar.*
mv -f jabref_${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}_amd64_repackaged.deb jabref_${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}_amd64.deb
- name: Upload to builds.jabref.org (ubuntu)
if: (matrix.os == 'ubuntu-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
uses: Pendect/action-rsyncer@v2.0.0
env:
DEPLOY_KEY: ${{ secrets.buildJabRefPrivateKey }}
with:
flags: -vaz --itemize-changes --stats --partial-dir=/tmp/partial --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync"
options: ''
ssh_options: '-p 9922'
src: 'build/distribution/'
dest: jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/
- name: Upload to GitHub workflow artifacts store (Windows)
if: (matrix.os == 'windows-latest') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
uses: actions/upload-artifact@v3
with:
name: JabRef-${{ matrix.displayName }}
path: build/distribution
- name: Setup rsync (macOS)
if: matrix.os == 'macos-latest'
run: brew install rsync
- name: Setup rsync (Windows)
if: matrix.os == 'windows-latest'
# We want to have rsync available at this place to avoid uploading and downloading from GitHub artifact store (taking > 5 minutes in total)
# We cannot use "action-rsyncer", because that requires Docker which is unavailable on Windows
# We cannot use "setup-rsync", because that does not work on Windows
# We do not use egor-tensin/setup-cygwin@v4, because it replaces the default shell
run: choco install --no-progress rsync
- name: Setup ssh key
if: (steps.checksecrets.outputs.secretspresent == 'YES') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
run: |
echo "${{ secrets.buildJabRefPrivateKey }}" > sshkey
chmod 600 sshkey
- name: Upload to builds.jabref.org (Windows)
if: (matrix.os == 'windows-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
shell: cmd
# for rsync installed by chocolatey, we need the ssh.exe delivered with that installation
run: |
rsync -Pavz --itemize-changes --stats --partial-dir=/tmp/partial --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'C:\ProgramData\chocolatey\lib\rsync\tools\bin\ssh.exe -p 9922 -i sshkey -o StrictHostKeyChecking=no' build/distribution/ jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/
- name: Upload to builds.jabref.org (linux, macOS)
# 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)
if: >
${{
(!startsWith(github.ref, 'refs/heads/gh-readonly-queue')) && (steps.checksecrets.outputs.secretspresent == 'YES') &&
((matrix.os == 'ubuntu-latest') ||
(matrix.os == 'macos-latest') && !((startsWith(github.ref, 'refs/tags/') || inputs.notarization == true))) }}
shell: bash
run: |
rsync -Pavz --itemize-changes --stats --partial-dir=/tmp/partial --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 }}/
- name: Upload to GitHub workflow artifacts store (macOS)
if: (matrix.os == 'macos-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
if: (matrix.os == 'macos-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') && (startsWith(github.ref, 'refs/tags/') || inputs.notarization == true)
uses: actions/upload-artifact@v3
with:
# tbn = to-be-notarized
name: JabRef-macOS-tbn
path: build/distribution
notarize: # outsourced in a separate job to be able to rerun if this fails for timeouts
name: Notarize and package macOS binaries
runs-on: macos-latest
announce:
name: Comment on Pull Request
runs-on: ubuntu-latest
needs: [build]
if: ${{ !startsWith(github.ref, 'refs/heads/gh-readonly-queue') }}
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Check secrets presence
id: checksecrets
Expand All @@ -271,59 +303,19 @@ jobs:
fi
env:
BUILDJABREFPRIVATEKEY: ${{ secrets.buildJabRefPrivateKey }}
- name: Fetch all history for all tags and branches
if: steps.checksecrets.outputs.secretspresent == 'YES'
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
show-progress: 'false'
- name: Install GitVersion
if: steps.checksecrets.outputs.secretspresent == 'YES'
uses: gittools/actions/gitversion/setup@v0.10.2
with:
versionSpec: "5.x"
- name: Run GitVersion
if: steps.checksecrets.outputs.secretspresent == 'YES'
id: gitversion
uses: gittools/actions/gitversion/execute@v0.10.2
- name: Get macOS binaries
- name: Comment PR
if: steps.checksecrets.outputs.secretspresent == 'YES'
uses: actions/download-artifact@master
with:
name: JabRef-macOS-tbn
path: build/distribution/
- name: Notarize dmg
if: (steps.checksecrets.outputs.secretspresent == 'YES') && (startsWith(github.ref, 'refs/tags/') || inputs.notarization == true)
shell: bash
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "vorstand@jabref.org" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit build/distribution/JabRef-${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}.dmg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/distribution/JabRef-${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}.dmg
- name: Notarize pkg
if: (steps.checksecrets.outputs.secretspresent == 'YES') && (startsWith(github.ref, 'refs/tags/') || inputs.notarization == true)
shell: bash
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "vorstand@jabref.org" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit build/distribution/JabRef-${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}.pkg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/distribution/JabRef-${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}.pkg
- name: Package application image
if: (steps.checksecrets.outputs.secretspresent == 'YES') && (matrix.os != 'macos-latest')
shell: bash
run: ${{ matrix.archivePortable }}
- name: Upload to GitHub workflow artifacts store
if: (steps.checksecrets.outputs.secretspresent == 'YES') && (!startsWith(github.ref, 'refs/heads/gh-readonly-queue'))
uses: actions/upload-artifact@v3
uses: thollander/actions-comment-pull-request@v2
with:
name: JabRef-macOS
path: build/distribution
upload:
strategy:
fail-fast: false
name: Upload binaries on builds.jabref.org
runs-on: ubuntu-latest
needs: [build, notarize]
if: ${{ !startsWith(github.ref, 'refs/heads/gh-readonly-queue') }}
message: |
The build of this PR is available at <https://builds.jabref.org/pull/${{ github.event.pull_request.number }}/merge>.
comment_tag: download-link
mode: recreate
notarize: # outsourced in a separate job to be able to rerun if this fails for timeouts
name: macOS notarization
runs-on: macos-latest
needs: [build]
if: ${{ startsWith(github.ref, 'refs/tags/') || inputs.notarization == true }}
steps:
- name: Check secrets presence
id: checksecrets
Expand All @@ -336,58 +328,30 @@ jobs:
fi
env:
BUILDJABREFPRIVATEKEY: ${{ secrets.buildJabRefPrivateKey }}
- name: Checkout source
if: steps.checksecrets.outputs.secretspresent == 'YES'
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
show-progress: 'false'
- name: Install GitVersion
if: steps.checksecrets.outputs.secretspresent == 'YES'
uses: gittools/actions/gitversion/setup@v0.10.2
with:
versionSpec: '5.x'
- name: Run GitVersion
if: steps.checksecrets.outputs.secretspresent == 'YES'
id: gitversion
uses: gittools/actions/gitversion/execute@v0.10.2
- name: Get Windows binaries
if: steps.checksecrets.outputs.secretspresent == 'YES'
uses: actions/download-artifact@master
with:
name: JabRef-windows
path: build/distribution
- name: Get macOS binaries unsigned
if: (steps.checksecrets.outputs.secretspresent == 'YES') && (inputs.notarization == false && !startsWith(github.ref, 'refs/tags/'))
- name: Download from GitHub workflow artifacts store (macOS)
if: (steps.checksecrets.outputs.secretspresent == 'YES')
uses: actions/download-artifact@master
with:
name: JabRef-macOS-tbn
path: build/distribution/
- name: Get macOS binaries notarized
if: (steps.checksecrets.outputs.secretspresent == 'YES') && (inputs.notarization == true || startsWith(github.ref, 'refs/tags/'))
uses: actions/download-artifact@master
with:
name: JabRef-macOS
path: build/distribution/
# Upload to build server using rsync
# The action runs on linux only (because it is a Dockerized action), therefore it is embedded in a separate workflow
- name: Notarize dmg
if: (steps.checksecrets.outputs.secretspresent == 'YES')
shell: bash
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "vorstand@jabref.org" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit build/distribution/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}.dmg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/distribution/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}.dmg
- name: Notarize pkg
if: (steps.checksecrets.outputs.secretspresent == 'YES')
shell: bash
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "vorstand@jabref.org" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit build/distribution/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}.pkg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple build/distribution/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}.pkg
- name: Upload to builds.jabref.org
if: steps.checksecrets.outputs.secretspresent == 'YES'
uses: Pendect/action-rsyncer@v2.0.0
env:
DEPLOY_KEY: ${{ secrets.buildJabRefPrivateKey }}
with:
flags: -vaz --itemize-changes --stats --partial-dir=/tmp/partial --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync"
options: ''
ssh_options: '-p 9922'
src: 'build/distribution/'
dest: jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/
- name: Comment PR
if: github.event_name == 'pull_request' && steps.checksecrets.outputs.secretspresent == 'YES'
uses: thollander/actions-comment-pull-request@v2
with:
message: |
The build of this PR is available at <https://builds.jabref.org/pull/${{ github.event.pull_request.number }}/merge>.
comment_tag: download-link
mode: recreate
if: (steps.checksecrets.outputs.secretspresent == 'YES')
shell: bash
run: |
echo "${{ secrets.buildJabRefPrivateKey }}" > sshkey
chmod 600 sshkey
rsync -Pavz --itemize-changes --stats --partial-dir=/tmp/partial --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ needs.build.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/${{ needs.build.outputs.branchname }}/
2 changes: 1 addition & 1 deletion .github/workflows/refresh-journal-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
cache: 'gradle'
- name: Check whether journal-list.mv can be generated (the "real" generation is done inside JabRef's build process)
run: |
./gradlew generateJournalAbbreviationList
./gradlew generateJournalListMV
- uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading