From c84c43fb6f88a8fe7ba367402ec639d57db47f25 Mon Sep 17 00:00:00 2001 From: Willem Veelenturf Date: Wed, 11 Oct 2023 21:31:45 +0200 Subject: [PATCH] export GPG_TTY=$(tty) --- .github/workflows/build.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe3d9b31..51c3241f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,7 @@ jobs: node-version: 16 - name: Run run: | + export GPG_TTY=$(tty) make build make image make example @@ -63,7 +64,6 @@ jobs: env: WIRESPEC_BUILD_MAC_ARM: true WIRESPEC_BUILD_MAC_X86: true - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} steps: - uses: actions/checkout@v3 @@ -76,7 +76,9 @@ jobs: gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} gpg-passphrase: GPG_PASSPHRASE - name: Run - run: ./gradlew build + run: | + export GPG_TTY=$(tty) + ./gradlew build - name: Archive macosX86 cli uses: actions/upload-artifact@v3 with: @@ -120,7 +122,6 @@ jobs: VERSION: ${{needs.version.outputs.version}} SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} steps: - uses: actions/checkout@v3 @@ -134,6 +135,7 @@ jobs: gpg-passphrase: GPG_PASSPHRASE - name: Run run: | + export GPG_TTY=$(tty) ./gradlew :src:plugin:gradle:publish release-plugin-maven: @@ -160,6 +162,7 @@ jobs: gpg-passphrase: GPG_PASSPHRASE - name: Run run: | + export GPG_TTY=$(tty) ./gradlew :src:plugin:maven:publish release-intellij: @@ -183,6 +186,7 @@ jobs: cache: gradle - name: Run run: | + export GPG_TTY=$(tty) ./gradlew :src:lsp:intellij-plugin:publishPlugin release-vscode: @@ -211,6 +215,7 @@ jobs: node-version: 16 - name: Build lib run: | + export GPG_TTY=$(tty) ./gradlew :src:compiler:lib:build - name: Build server working-directory: ./lsp/node/server @@ -269,7 +274,6 @@ jobs: VERSION: ${{needs.version.outputs.version}} SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} steps: - uses: actions/checkout@v3 @@ -283,6 +287,7 @@ jobs: gpg-passphrase: GPG_PASSPHRASE - name: Run run: | + export GPG_TTY=$(tty) ./gradlew :src:compiler:core:publish ./gradlew :src:compiler:lib:publish @@ -312,6 +317,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Build run: | + export GPG_TTY=$(tty) ./gradlew :src:compiler:lib:build - name: Build working-directory: ./build/js