的
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
## :loudspeaker: Type of change
|
||||
<!--- Put an `x` in the boxes that apply, remove checkboxes from remaining -->
|
||||
|
||||
- [ ] Bugfix
|
||||
- [ ] New feature
|
||||
- [ ] Enhancement
|
||||
- [ ] Refactoring
|
||||
|
||||
## :scroll: Description
|
||||
<!--- Describe your changes in detail -->
|
||||
|
||||
## :bulb: Motivation and Context
|
||||
<!--- Why is this change required? What problem does it solve? -->
|
||||
<!--- If it fixes an open issue, please link to the issue here. -->
|
||||
|
||||
## :green_heart: How did you test it?
|
||||
<!--- Describe how the changes were tested -->
|
||||
|
||||
## :pencil: Checklist
|
||||
<!--- Put an `x` in the boxes that apply, remove checkboxes from remaining -->
|
||||
|
||||
- [ ] I reviewed submitted code
|
||||
- [ ] I added tests to verify changes
|
||||
- [ ] All tests passing
|
||||
- [ ] All linters passing
|
||||
- [ ] There are no code climate issues
|
||||
|
||||
## :crystal_ball: Next steps
|
||||
<!--- Describe any changes that need to be made after merging this PR -->
|
||||
<!--- Describe any changes that you would like to make after merging this PR -->
|
||||
|
||||
## :camera_flash: Screenshots / GIFs
|
||||
<!--- Mandatory for UI changes -->
|
||||
<!-- Uncomment the next line and replace it with links to your screenshots. -->
|
||||
<!--
|
||||
<img src="https://placekitten.com/260/260" width="260"> 
|
||||
<img src="https://placekitten.com/300/300" width="260"> 
|
||||
→
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
name: Android CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
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'
|
||||
cache: gradle
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Clean and Build with Gradle
|
||||
run: ./gradlew clean build
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
name: Maven Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Java for publishing to Maven Central Repository
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew :YChartsLib:clean build publish
|
||||
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ secrets.MAVENCENTRALUSERNAME }}
|
||||
MAVEN_PASSWORD: ${{ secrets.MAVENCENTRALPASSWORD}}
|
||||
MEMORY_KEY: ${{ secrets.SIGNINGINMEMORYKEY}}
|
||||
SIGNINGKEY: ${{ secrets.SIGNINGKEYID}}
|
||||
SIGNINGPASSWORD: ${{ secrets.SIGNINGPASSWORD}}
|
||||
Reference in New Issue
Block a user