From 12e45cf185528e71f9fd5661bcfc238f05079db7 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Mon, 26 Jun 2023 16:54:53 +0200 Subject: [PATCH] workflows: Update version of import-gpg action (TEDEFO-2357) Update parameters to use inputs intead of env vars. This should remove the warnings on the "publish" workflow. --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f56a6a7..2936a0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,10 +20,10 @@ jobs: steps: - uses: actions/checkout@v3 - name: Import GPG Key - uses: crazy-max/ghaction-import-gpg@v1 - env: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + uses: crazy-max/ghaction-import-gpg@v5 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} - name: Set up Java for publishing to Maven Central Repository uses: actions/setup-java@v3 with: