From b5b1d0f8693567f7b6e93efe1c0a87da9ef433ea Mon Sep 17 00:00:00 2001 From: EpiCanard Date: Sun, 31 Jul 2022 21:02:51 +0200 Subject: [PATCH] Configure CI to autocreate release --- .github/workflows/scala.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 865526f..a68f977 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -3,6 +3,7 @@ name: Scala CI on: push: branches: [ master ] + tags: [ v* ] pull_request: branches: [ master ] @@ -25,3 +26,9 @@ jobs: with: name: mapsaver path: target/scala-2.13/MapSaver-*.jar + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + draft: true + files: target/scala-2.13/MapSaver-*.jar