Skip to content

Bump org.mockito:mockito-core from 5.13.0 to 5.14.0 #116

Bump org.mockito:mockito-core from 5.13.0 to 5.14.0

Bump org.mockito:mockito-core from 5.13.0 to 5.14.0 #116

name: Publish Unstable
on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
jobs:
publish-unstable:
if: ${{ github.actor != 'dependabot[bot]' }} # ignore dependabot PRs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Full git history is needed to make versioning working correctly
fetch-depth: 0
ref: ${{ github.event.workflow_run.head_sha }}
- name: Setup Java 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
cache: 'gradle'
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
# The name of the environment variable, not its value
gpg-passphrase: OSSRH_GPG_SECRET_KEY_PASSWORD
- name: List GPG Keys
run: gpg --list-secret-keys --keyid-format LONG
- name: Print version
run: ./gradlew version
- name: Build
run: ./gradlew build
- name: Test
run: ./gradlew test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./build/reports/jacoco/test/jacocoTestReport.xml
- name: Publish
run: ./gradlew -Psigning.gnupg.keyName=${{ secrets.OSSRH_GPG_SECRET_KEY_ID }} -Psigning.gnupg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} publish
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}