Skip to content

fix(release): Provide Replace fixes for Snackbar breaking changes (#1… #53

fix(release): Provide Replace fixes for Snackbar breaking changes (#1…

fix(release): Provide Replace fixes for Snackbar breaking changes (#1… #53

Workflow file for this run

name: '📦 Publish to OSSRH'
on:
push:
tags: ['*']
workflow_dispatch:
jobs:
publish:
if: github.repository == 'adevinta/spark-android'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-java
- uses: ./.github/actions/setup-gradle
- uses: ./.github/actions/setup-gradle-properties
- name: '📦 Publish'
run: ./gradlew publish --no-configuration-cache
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSWORD }}
- name: '📦 Upload Maven artifact'
uses: actions/upload-artifact@v4
with:
name: maven
path: build/.m2/repository