Skip to content

migrated to version catalog. #214

migrated to version catalog.

migrated to version catalog. #214

Workflow file for this run

name: πŸ€– Android CI
on:
push:
branches: [ master ]
tags:
- '*.*.*'
paths-ignore:
- 'LICENSE'
- '**/README.md'
- 'screenshots/**'
- '.github/FUNDING.yml'
- '.gitignore'
- '.idea/**'
- '.run/**'
pull_request:
branches: [ master ]
tags:
- '*.*.*'
paths-ignore:
- 'LICENSE'
- '**/README.md'
- 'screenshots/**'
- '.github/FUNDING.yml'
- '.gitignore'
- '.idea/**'
- '.run/**'
jobs:
build:
name: πŸŽ‰ Build
runs-on: ubuntu-latest
steps:
# https://github.com/actions/setup-java
- name: β˜• Set up AWS Corretto JDK 17
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: '17'
architecture: x64
- name: 🚚 Get latest code
uses: actions/checkout@v4
# GITHUB_REF may be "master".
- name: πŸ”’ Set version tag
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: πŸ”’ Grant execute permission for gradlew
run: chmod +x gradlew
- name: πŸ”¨ Build with Gradle
env:
VERSION_TAG: ${{ steps.vars.outputs.tag }}
run: ./gradlew :library:assembleRelease
# https://github.com/actions/upload-artifact
- name: πŸ“¦ Retain Artifacts (Release AAR)
id: retain-release-aar
uses: actions/upload-artifact@v4
with:
name: androidx-colorpicker-aar
path: ./library/build/outputs/aar/colorpicker_*-release.aar
retention-days: 14