Skip to content

Create changelog file #3

Create changelog file

Create changelog file #3

Workflow file for this run

name: ci
on:
push:
branches:
- "main"
tags:
- "v*"
pull_request:
branches:
- "*"
jobs:
validate-gradle-wrapper:
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
release:
name: Release
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') && (github.repository == 'cheonjaeung/simplecarousel-android') }}
needs: validate-gradle-wrapper
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup jdk
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: '17'
- name: Publish to Maven Central
run: ./gradlew publish --stacktrace
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.CENTRAL_PORTAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}