Skip to content

Compose 1.6 upgrade (#39) #59

Compose 1.6 upgrade (#39)

Compose 1.6 upgrade (#39) #59

Workflow file for this run

name: Publish
on:
push:
branches: [ main ]
paths:
- 'zoomable/**'
- '*.kts'
- '*.properties'
- 'gradle/**'
workflow_dispatch:
jobs:
publish:
# Skip if head commit contains 'skip ci'
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Prepare environment
env:
GRADLE_PROPERTIES: ${{ secrets.GRADLE_PROPERTIES }}
run: sh -c "mkdir -p ~/.gradle && echo '${GRADLE_PROPERTIES}' > ~/.gradle/gradle.properties"
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Publish
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
run: ./gradlew --no-daemon publish