Skip to content

Update dependencies, publish package and fix testUI #67

Update dependencies, publish package and fix testUI

Update dependencies, publish package and fix testUI #67

Workflow file for this run

name: FormCompose CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: "17"
distribution: "temurin"
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Archive reports
uses: actions/upload-artifact@v2
if: always()
with:
name: Reports
path: lib/build/reports
- name: Publish package
if: github.ref_type == 'tag'
run: ./gradlew publish
env:
GITHUB_USERNAME: ${{ github.repository_owner }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}