From 471325f79cb08c1502c50338a87436cc5c717559 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 9 Nov 2023 12:34:01 +0900 Subject: [PATCH] Passphrase --- .github/workflows/jakarta.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jakarta.yml b/.github/workflows/jakarta.yml index e80c6ba6..8603e019 100644 --- a/.github/workflows/jakarta.yml +++ b/.github/workflows/jakarta.yml @@ -90,16 +90,16 @@ jobs: - name: Test run: | - echo "$ADMIN_AT_AUTHLETE_SEC" > test.key - gpg --batch --import-options import-show --import test.key + echo "${{ secrets.ADMIN_AT_AUTHLETE_SEC }}" > ~/test.key + gpg --batch --import-options import-show --batch --passphrase "${{ secrets.ADMIN_AT_AUTHLETE_SEC_PASS }}" -d --import ~/test.key - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' cache: 'maven' - # gpg-private-key: | - # ${{ secrets.ADMIN_AT_AUTHLETE_SEC }} + # gpg-private-key: ${{ secrets.ADMIN_AT_AUTHLETE_SEC }} + # gpg-passphrase: ${{ secrets.ADMIN_AT_AUTHLETE_SEC_PASS }} - name: Clone jakarta repository env: