From ebc0a9ac68856b5634a33dd258e90d6dac70a424 Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Thu, 3 Nov 2022 12:58:30 +0900 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9450dac..ba2fd7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,9 +10,12 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: olafurpg/setup-scala@v13 + - uses: actions/setup-java@v3 + with: + java-version: 8 + distribution: adopt - run: sbt ci-release - if: ${{ !github.event.repository.fork }} + if: ${{ github.repository_owner == 'sbt' }} env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }}