Skip to content

Commit

Permalink
Experiment with java runner #5780
Browse files Browse the repository at this point in the history
  • Loading branch information
StepanBrychta committed Sep 17, 2024
1 parent ee0b522 commit b3cda00
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,13 @@ jobs:
- uses: actions/checkout@v4
with:
ref: Publish-packages-to-sonatype # Important!
- uses: aws-actions/configure-aws-credentials@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
aws-region: eu-west-1
role-to-assume: ${{ secrets.GHA_SCALA_LIBS_ROLE_ARN }}
- uses: aws-actions/amazon-ecr-login@v2

distribution: temurin
java-version: 8
cache: sbt
- name: Publish to Sonatype
run: |
./builds/run_sbt_task_in_docker.sh "project ${{ matrix.service }}" reload
./builds/run_sbt_task_in_docker.sh "project ${{ matrix.service }}" clean
./builds/run_sbt_task_in_docker.sh "project ${{ matrix.service }}" update
./builds/run_sbt_task_in_docker.sh "project ${{ matrix.service }}" plugins
./builds/run_sbt_task_in_docker.sh "project ${{ matrix.service }}" publishSigned
./builds/run_sbt_task_in_docker.sh "project ${{ matrix.service }}" sonatypeBundleRelease
apt-get update && apt-get install -y gpg
sbt "project ${{ matrix.service }}" publishSigned

0 comments on commit b3cda00

Please sign in to comment.