Skip to content

[Version 1.0.1]

[Version 1.0.1] #18

Workflow file for this run

name: Build All
on:
push:
branches:
- main
jobs:
build:
runs-on: macos-15
steps:
- name: Checkout the code
uses: actions/[email protected]
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Add execution right to gradlew
run: chmod +x ./gradlew
- name: Setup Android SDK
uses: android-actions/[email protected]
- name: Install Android SDK
run: sdkmanager "platform-tools" "platforms;android-35"
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '16.0.0'
- name: Build the library
run: ./gradlew build --no-daemon --stacktrace --info --scan
- name: Check bump
id: vbump
uses: rgryta/Check-Bump@main
with:
method: 'regex'
path: 'library/version.properties'
prefix: 'v'
- name: Publish the library
if: steps.vbump.outputs.bump == 'true'
env:
GPR_USERNAME: ${{ secrets.GPR_USERNAME }}
GPR_TOKEN: ${{ secrets.GPR_TOKEN }}
run: ./gradlew publishAllPublicationsToGitHubPackagesRepository --no-daemon --stacktrace --info --scan --no-configuration-cache