Release #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Publish | ||
on: workflow_dispatch | ||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup JDK And SBT | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: "21" | ||
cache: "sbt" | ||
- name: Test | ||
run: sbt test | ||
- name: Publish to Maven Repository | ||
run: sbt ci-release | ||
env: | ||
PGP_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
PGP_SECRET: ${{ secrets.GPG_SECRET }} | ||
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | ||
- name: Publish to GitHub Packages | ||
run: sbt publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN } | ||
Check failure on line 32 in .github/workflows/sbt-build.yml GitHub Actions / Build & PublishInvalid workflow file
|