Browse Source

use README.md for dry-running gpg

Sebastian Stenzel 3 years ago
parent
commit
184b7799ea
2 changed files with 11 additions and 7 deletions
  1. 5 3
      .github/workflows/appimage.yml
  2. 6 4
      .github/workflows/debian.yml

+ 5 - 3
.github/workflows/appimage.yml

@@ -16,7 +16,8 @@ jobs:
       - uses: actions/checkout@v2
         with:
           fetch-depth: 0
-      - uses: actions/setup-java@v2
+      - name: Setup Java
+        uses: actions/setup-java@v2
         with:
           distribution: 'temurin'
           java-version: ${{ env.JAVA_VERSION }}
@@ -35,7 +36,8 @@ jobs:
           echo "::set-output name=semVerStr::${SEM_VER_STR}"
           echo "::set-output name=semVerNum::${SEM_VER_NUM}"
           echo "::set-output name=revNum::${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
@@ -115,7 +117,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 }}

+ 6 - 4
.github/workflows/debian.yml

@@ -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 }}