Skip to content

Update ci-pulls.yml #40

Update ci-pulls.yml

Update ci-pulls.yml #40

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout GIT repository
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Gradle
run: ./gradlew build
- name: Upload report to codecov.io
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: library/build/reports/jacoco/test/jacocoTestReport.xml
flags: unittests
fail_ci_if_error: true
- name: Publish SNAPSHOT
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_useSnapshot: true
run: ./gradlew publishSnapshot