Skip to content

Commit

Permalink
export GPG_TTY=$(tty)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmveel committed Oct 11, 2023
1 parent fda1b30 commit c84c43f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
node-version: 16
- name: Run
run: |
export GPG_TTY=$(tty)
make build
make image
make example
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -134,6 +135,7 @@ jobs:
gpg-passphrase: GPG_PASSPHRASE
- name: Run
run: |
export GPG_TTY=$(tty)
./gradlew :src:plugin:gradle:publish
release-plugin-maven:
Expand All @@ -160,6 +162,7 @@ jobs:
gpg-passphrase: GPG_PASSPHRASE
- name: Run
run: |
export GPG_TTY=$(tty)
./gradlew :src:plugin:maven:publish
release-intellij:
Expand All @@ -183,6 +186,7 @@ jobs:
cache: gradle
- name: Run
run: |
export GPG_TTY=$(tty)
./gradlew :src:lsp:intellij-plugin:publishPlugin
release-vscode:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c84c43f

Please sign in to comment.