From bf0a6efa02cdafe5252610bc96244cdfe53de6de Mon Sep 17 00:00:00 2001 From: Ruslans Tarasovs <49794769+rtar@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:28:31 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0df3b50..5edead4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,31 +55,3 @@ jobs: type: ${{ job.status }} job_name: Build url: ${{ secrets.SLACK_WEBHOOK }} - - publish: - name: Publish Artifacts - needs: [test] - if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: coursier/cache-action@v6 - - - name: Setup Java - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 17 - cache: "sbt" - - - name: setup SBT - uses: sbt/setup-sbt@v1 - - - name: Publish artifacts - env: - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USER }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASS }} - PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} - PGP_SECRET: ${{ secrets.PGP_SECRET }} - run: sbt ci-release