forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7cfb793
commit 2143e66
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
matrix: # if you change the os version rename all other occurrences | ||
os: [ubuntu-22.04, windows-latest, macos-13] | ||
include: | ||
- os: ubuntu-22.04 | ||
|
@@ -75,7 +75,7 @@ jobs: | |
submodules: 'true' | ||
show-progress: 'false' | ||
- name: Install pigz and cache (linux) | ||
if: (matrix.os == 'ubuntu-latest') | ||
if: (matrix.os == 'ubuntu-22.04') | ||
uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: pigz | ||
|
@@ -212,7 +212,7 @@ jobs: | |
get-childitem -Path build/distribution/* | rename-item -NewName {$_.name -replace "${{ steps.gitversion.outputs.AssemblySemVer }}","${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}"} | ||
get-childitem -Path build/distribution/* | rename-item -NewName {$_.name -replace "portable","${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}-portable"} | ||
- name: Repack deb file for Debian | ||
if: (matrix.os == 'ubuntu-latest') && (steps.checksecrets.outputs.secretspresent == 'YES') | ||
if: (matrix.os == 'ubuntu-22.04') && (steps.checksecrets.outputs.secretspresent == 'YES') | ||
shell: bash | ||
run: | | ||
cd build/distribution | ||
|
@@ -247,7 +247,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-13') && !((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-22.04') || ((matrix.os == 'macos-13') && !((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/ [email protected]:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ || true | ||
|
@@ -268,7 +268,7 @@ jobs: | |
compression-level: 0 # no compression | ||
announce: | ||
name: Comment on pull request | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [build] | ||
if: ${{ github.event_name == 'pull_request' }} | ||
steps: | ||
|