Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sirocchj authored Jan 15, 2024
1 parent a109e73 commit b1ae7f6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
types:
- created
jobs:
release_212:
name: Release 2.12
release_213:
name: Release 2.13
runs-on: ubuntu-20.04
steps:
- name: Branch Checkout
Expand All @@ -30,16 +30,16 @@ jobs:
target
project/target
key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
- name: Release for Scala 2.12
run: CI_RELEASE=publishSigned sbt ++2.12.18 releaseIt
- name: Release for Scala 2.13
run: CI_RELEASE=publishSigned sbt ++2.13.12 releaseIt
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
release_213:
name: Release 2.13
needs: release_212
release_3:
name: Release 3
needs: release_213
runs-on: ubuntu-20.04
steps:
- name: Branch Checkout
Expand All @@ -64,8 +64,8 @@ jobs:
target
project/target
key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
- name: Release for Scala 2.13
run: CI_RELEASE=publishSigned sbt ++2.13.12 releaseIt
- name: Release for Scala 3
run: CI_RELEASE=publishSigned sbt ++3.3.1 releaseIt
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
Expand Down

0 comments on commit b1ae7f6

Please sign in to comment.