Skip to content

Merge pull request #131 from scala-steward/update/2.9.x/awaitility-3.1.6 #23

Merge pull request #131 from scala-steward/update/2.9.x/awaitility-3.1.6

Merge pull request #131 from scala-steward/update/2.9.x/awaitility-3.1.6 #23

Workflow file for this run

name: Publish
on:
push:
branches: # Snapshots
- 2.9.x
tags: ["**"] # Releases
jobs:
publish-artifacts:
name: JDK 11
runs-on: ubuntu-20.04
if: ${{ github.repository_owner == 'mkurz' }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
- name: Coursier Cache
id: coursier-cache
uses: coursier/cache-action@v6
- name: Install Adoptium Temurin OpenJDK
uses: coursier/setup-action@v1
with:
jvm: adoptium:11
- name: Publish artifacts
run: cd code && sbt ci-release
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Cleanup before cache
shell: bash
run: |
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt -name "*.lock" -delete || true