(feat): really old local changes #10
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Publish snapshot | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-snapshot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
server-id: twitchapis-snapshots | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
- name: Publish snapshot | |
run: mvn -B deploy | |
env: | |
MAVEN_USERNAME: ${{ secrets.TWITCH_APIS_MAVEN_USER }} | |
MAVEN_PASSWORD: ${{ secrets.TWITCH_APIS_MAVEN_PASSWORD }} |