diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eee3389..df083a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ # This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -name: CI +name: All Tests on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0d231b..393bd3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,7 @@ -name: release +name: Release concurrency: release on: push: - branches: [master, main] tags: ["*"] jobs: release: @@ -22,7 +21,7 @@ jobs: - run: echo $PGP_SECRET | base64 --decode | gpg --batch --import env: PGP_SECRET: ${{ secrets.PGP_SECRET }} - - run: sbt test ciReleaseTagNextVersion ciReleaseSonatype + - run: sbt test ciReleaseSkipIfAlreadyReleased ciReleaseTagNextVersion ciReleaseSonatype env: SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} \ No newline at end of file