Skip to content

Commit

Permalink
minors
Browse files Browse the repository at this point in the history
  • Loading branch information
salamonpavel committed Feb 13, 2024
1 parent d1a4ac9 commit 9dc5d1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: coursier/cache-action@v5

- name: Setup Scala
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v14
with:
java-version: "[email protected]"

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- uses: coursier/cache-action@v5

- name: Setup Scala
uses: olafurpg/setup-scala@v10
uses: olafurpg/setup-scala@v14
with:
java-version: "[email protected]"

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,19 @@ jobs:
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
- name: Run sbt ci-release (produces war as well)
- name: Run sbt ci-release (produces jar as well)
run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

- name: Find JAR file
id: find_jar
run: echo "JAR_PATH=$(find . -name 'server/target/jvm-2.13/*.jar' | head -n 1)" >> $GITHUB_ENV

- name: Upload JAR file to GitHub Release
run: gh release upload ${{ github.event.release.tag_name }} ${{ env.JAR_PATH }} --repo ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9dc5d1b

Please sign in to comment.