Skip to content

chore(deps): update jamesives/github-pages-deploy-action action to v4… #108

chore(deps): update jamesives/github-pages-deploy-action action to v4…

chore(deps): update jamesives/github-pages-deploy-action action to v4… #108

name: android-publish-artifact
on:
push:
branches: [ develop ]
paths-ignore:
- "app/src/main/**"
permissions:
checks: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Wait for tests to succeed
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
running-workflow-name: android-publish-artifact
check-name: unit
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 20
- uses: gradle/actions/setup-gradle@v4
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build artifacts
run: |
./gradlew emojify:preTest
./gradlew clean build
./gradlew emojify:postTest
- name: Publish to local maven
run: |
./gradlew publishMavenPublicationToMavenLocal
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: publications
path: ~/.m2/repository/io/wax911/emoji/