Skip to content

Are we properly setting the gpg key (next attempt) #65

Are we properly setting the gpg key (next attempt)

Are we properly setting the gpg key (next attempt) #65

Workflow file for this run

name: Scala CI
on:
push:
tags:
- 'v*'
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
gpg-private-key: ${{ secrets.PGP_SECRET }}
gpg-passphrase: PGP_PASSPHRASE
env:
PGP_ID: ${{ secrets.PGP_ID }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
- uses: sbt/setup-sbt@v1
- name: ShowSome
shell: bash
run: |
echo "PGP_ID = " $PGP_ID
echo "Available keys:"
gpg --list-secret-keys --keyid-format LONG
env:
PGP_ID: ${{ secrets.PGP_ID }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Run tests
shell: bash
run: sbt test