Merge pull request #7 from skyinr/addTaste #232
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
env: | |
SINOSERIES_MAVEN_USER: ${{ secrets.SINOSERIES_MAVEN_USER }} | |
SINOSERIES_MAVEN_PASS: ${{ secrets.SINOSERIES_MAVEN_PASS }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Chmod for gradlew | |
run: chmod +x gradlew | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: clean build publish | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dev-builds | |
path: | | |
output/ | |
!output/sinotest*.jar | |
!output/SinoSeries*.jar |