-
-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lets test if we can have the Action create the release
- Loading branch information
Showing
6 changed files
with
89 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
os_matrix: | ||
strategy: | ||
matrix: | ||
os: [ macos-latest, ubuntu-latest, macos-13 ] | ||
runs-on: ${{ matrix.os }} | ||
name: build ${{ matrix.os }} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Import GPG key | ||
id: import_gpg | ||
uses: crazy-max/ghaction-import-gpg@v6 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_SUB_SECRET_KEY }} | ||
passphrase: ${{ secrets.GPG_SUB_SECRET_KEY_PASSWORD }} | ||
fingerprint: ${{ secrets.GPG_SUB_FINGERPRINT }} | ||
- name: Set up Apple certs | ||
if: runner.os == 'macOS' | ||
uses: apple-actions/import-codesign-certs@v3 | ||
with: | ||
p12-file-base64: ${{ secrets.APPLE_CERT_P12 }} | ||
p12-password: ${{ secrets.APPLE_CERT_P12_PWD }} | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: 'liberica' | ||
- name: Install gettext on Ubuntu | ||
if: matrix.os == 'ubuntu-latest' | ||
run: sudo apt-get update && sudo apt-get install -y gettext | ||
|
||
- name: Install gettext on macOS | ||
if: matrix.os == 'macos-latest' | ||
run: brew install gettext | ||
|
||
- name: Install gettext on Windows | ||
if: matrix.os == 'windows-latest' | ||
run: choco install gettext --version=0.21.1 | ||
- name: Build | ||
env: | ||
APPLEID: ${{ secrets.NOTARIZE_ACCOUNT }} | ||
APPLEIDPASS: ${{ secrets.NOTERIZE_PWD }} | ||
TEAMID: ${{ secrets.NOTERIZE_TEAM_ID }} | ||
PDFSAM_GPG_FINGERPRINT: ${{ secrets.GPG_SUB_FINGERPRINT }} | ||
run: mvn clean install -DskipTests -Drelease --batch-mode | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
draft: true | ||
files: | | ||
pdfsam-basic/target/*.deb | ||
pdfsam-basic/target/*.dmg | ||
pdfsam-basic/target/*.deb.asc | ||
pdfsam-basic/target/*.dmg.asc | ||
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ Upstream-Contact: Andrea Vacondio ([email protected]) | |
Source: https://github.com/torakiki/pdfsam/ | ||
|
||
Files: * | ||
Copyright: 2010-2022 Sober Lemur S.r.l. ([email protected]) | ||
Copyright: 2010-2025 Sober Lemur S.r.l. ([email protected]) | ||
License: AGPL-3.0 | ||
This program is free software: you can redistribute it and/or modify it under | ||
the terms of the GNU Affero General Public License as published by the | ||
|
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
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
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