Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Added optional offset to tap action (#31) #19

Added optional offset to tap action (#31)

Added optional offset to tap action (#31) #19

Workflow file for this run

name: Publish
on:
push:
tags:
- '**'
jobs:
publish:
name: Release build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
- name: Release build
run: ./gradlew :uitestglaze:assembleRelease
- name: Source jar
run: ./gradlew androidSourcesJar
- name: Publish to MavenCentral
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
- name: Extract release notes
id: release_notes
uses: ffurrer2/extract-release-notes@v1
- name: Create release
uses: ncipollo/release-action@v1
with:
body: ${{ steps.release_notes.outputs.release_notes }}
discussionCategory: Announcements