From 190f83c3290226875e3814a92c2ccde3648cfc99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mareks=20Ramp=C4=81ns?= <8796159+mr-git@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:37:57 +0300 Subject: [PATCH] add release action --- .github/workflows/release.yml | 11 +++++++++++ build.sbt | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a8a2f2b --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,11 @@ +name: Publish new Release + +on: + release: + types: [published] + branches: [master] + +jobs: + release: + uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v1 + secrets: inherit diff --git a/build.sbt b/build.sbt index 87c0a96..e4be175 100644 --- a/build.sbt +++ b/build.sbt @@ -25,4 +25,8 @@ libraryDependencies ++= Seq( licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))) -releaseCrossBuild := true \ No newline at end of file +releaseCrossBuild := true + +//addCommandAlias("check", "all versionPolicyCheck Compile/doc") +addCommandAlias("check", "show version") +addCommandAlias("build", "+all compile test")