|
@@ -21,7 +21,8 @@ jobs:
|
|
|
run: |
|
|
|
sudo apt-get update
|
|
|
sudo apt-get install debhelper devscripts dput
|
|
|
- - uses: actions/setup-java@v2
|
|
|
+ - name: Setup Java
|
|
|
+ uses: actions/setup-java@v2
|
|
|
with:
|
|
|
distribution: 'temurin'
|
|
|
java-version: ${{ env.JAVA_VERSION }}
|
|
@@ -41,12 +42,13 @@ jobs:
|
|
|
echo "::set-output name=semVerNum::${SEM_VER_NUM}"
|
|
|
echo "::set-output name=revNum::${REVCOUNT}"
|
|
|
echo "::set-output name=ppaVerStr::${SEM_VER_STR/-/\~}-${REVCOUNT}"
|
|
|
- - uses: skymatic/semver-validation-action@v1
|
|
|
+ - name: Validate Version
|
|
|
+ uses: skymatic/semver-validation-action@v1
|
|
|
with:
|
|
|
version: ${{ steps.versions.outputs.semVerStr }}
|
|
|
- name: Run maven
|
|
|
run: mvn -B clean package -Pdependency-check,linux -DskipTests
|
|
|
- - name: create orig.tar.gz with common/ libs/ mods/
|
|
|
+ - name: Create orig.tar.gz with common/ libs/ mods/
|
|
|
run: |
|
|
|
mkdir pkgdir
|
|
|
cp -r target/libs pkgdir
|
|
@@ -70,7 +72,7 @@ jobs:
|
|
|
- name: Prepare GPG-Agent for signing with key 615D449FE6E6A235
|
|
|
run: |
|
|
|
echo "${GPG_PRIVATE_KEY}" | gpg --batch --quiet --import
|
|
|
- echo "${GPG_PASSPHRASE}" | gpg --batch --quiet --passphrase-fd 0 --pinentry-mode loopback -u 615D449FE6E6A235 --dry-run --sign Cryptomator.AppDir/AppRun
|
|
|
+ echo "${GPG_PASSPHRASE}" | gpg --batch --quiet --passphrase-fd 0 --pinentry-mode loopback -u 615D449FE6E6A235 --dry-run --sign README.md
|
|
|
env:
|
|
|
GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
|
|
|
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
|