Skip to content

Build: update GitHub action dependencies #16

Build: update GitHub action dependencies

Build: update GitHub action dependencies #16

Workflow file for this run

# Publish release to Maven for every push to master.
name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up 'publish.properties'
run: |
echo "${{ secrets.SIGNING_KEY_FILE }}" > signingKey.asc
echo "${{ secrets.PUBLISH_PROPERTIES }}" > publish.properties
- name: Build and test
run: ./gradlew check
- name: Publish to staging repo and release
if: success()
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository