Skip to content

Commit

Permalink
Resume release job
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Jun 3, 2024
1 parent 9562a66 commit 5490f2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- main
tags:
- "v*"
pull_request:

jobs:
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand All @@ -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:
Expand Down

0 comments on commit 5490f2c

Please sign in to comment.