From 5490f2cc8e9b400c4f5cdd120c3bc51d8efcef8b Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Mon, 3 Jun 2024 10:49:31 +0200 Subject: [PATCH] Resume release job --- .github/workflows/ci.yml | 2 -- .github/workflows/release.yml | 34 ---------------------------------- 2 files changed, 36 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 313b1d7b3..4755ef90e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,6 @@ on: push: branches: - main - tags: - - "v*" pull_request: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a47b1d17f..ea7a2c129 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,40 +7,7 @@ on: - "v*" jobs: - release: - if: github.event_name == 'push' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - uses: coursier/setup-action@v1.3 - with: - jvm: 8 - - run: echo "$PGP_SECRET" | base64 --decode | gpg --batch --import - shell: bash - env: - PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }} - - run: | - mv .mill-jvm-opts .mill-jvm-opts.bak - cat .mill-jvm-opts.bak | grep -v Xmx > .mill-jvm-opts - # sometimes running into memory issues when attempting __.publishLocal or __.publishArtifacts upfront - for SV in $(./mill dev.scalaVersions); do - ./mill -i '__['"$SV"'].compile' - ./mill -i '__['"$SV"'].docJar' - ./mill -i '__['"$SV"'].publishLocal' - done - ./mill -i __.publishLocal - ./mill -i ci.publishSonatype __.publishArtifacts - shell: bash - env: - PGP_PASSWORD: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - upload-launcher: - needs: release runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -57,7 +24,6 @@ jobs: UPLOAD_GH_TOKEN: ${{ secrets.GH_TOKEN }} update-docker-images: - needs: release runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'almond-sh/almond' steps: