From d670397765e715ff7834e13869ec25c0c02f2d53 Mon Sep 17 00:00:00 2001 From: Rotem Tamir Date: Mon, 11 Dec 2023 12:36:09 +0200 Subject: [PATCH] env var --- .github/workflows/ci.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1b5e50f..2635337 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,21 +4,22 @@ on: branches: - master pull_request: - -jobs: +env: + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE}} +jobs: gradle: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: | - echo "${{ secrets.PGP_PRIVATE_KEY_BASE64 }}" | base64 --decode > /tmp/gpg.key + echo "${{ secrets.GPG_BASE64 }}" | base64 --decode > /tmp/gpg.key ls -al /tmp - uses: actions/setup-java@v3 with: distribution: temurin java-version: 11 gpg-private-key: /tmp/gpg.key - gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} + gpg-passphrase: GPG_PASSPHRASE - name: Setup Gradle uses: gradle/gradle-build-action@v2.4.2