add API for declaring feather dep #76
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: Publish | |
on: | |
push: | |
branches: | |
- 'dev/**' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gradle/wrapper-validation-action@v1 | |
# Generate the build number based on tags to allow per branch build numbers, not something github provides by default. | |
- name: Generate build number | |
id: buildnumber | |
uses: einaregilsson/build-number@v3 | |
with: | |
token: ${{ secrets.github_token }} | |
prefix: ${{ github.ref_name }} | |
- run: git config --global user.email "[email protected]" | |
- run: git config --global user.name "Nobody" | |
- name: setup jdk | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- run: ./gradlew build publish --stacktrace | |
env: | |
MAVEN_URL: ${{ secrets.NEW_MAVEN_URL }} | |
MAVEN_USERNAME: ${{ secrets.NEW_MAVEN_USERNAME }} | |
MAVEN_PASSWORD: ${{ secrets.NEW_MAVEN_PASSWORD }} | |
SNAPSHOTS_URL: ${{ secrets.NEW_MAVEN_SNAPSHOT_URL }} | |
SNAPSHOTS_USERNAME: ${{ secrets.NEW_MAVEN_SNAPSHOT_USERNAME }} | |
SNAPSHOTS_PASSWORD: ${{ secrets.NEW_MAVEN_SNAPSHOT_PASSWORD }} |