Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
java-version: '21'
distribution: 'corretto'
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Set Env
if: ${{ github.repository == 'lucidsoftware/piezo' }}
Expand All @@ -38,12 +39,13 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: sbt ci-release
- name: Build final packages
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
run: sbt Universal/packageBin Debian/packageBin
# TODO: publish deb somewhere?
- name: Upload assets to Github
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -x
sbt Universal/packageBin
gh release create -t "Release $VERSION" --generate-notes $VERSION {admin,worker}/target/**/*.jar admin/target/*.deb admin/target/universal/piezo-admin*.zip
2 changes: 0 additions & 2 deletions worker/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ scalacOptions ++= Seq(
)

Compile / unmanagedClasspath += sourceDirectory.value / "run" / "resources"

version := sys.props.getOrElse("build.version", "0.0-SNAPSHOT")