Skip to content

Handle youtube /live/ URLs. (#53) #62

Handle youtube /live/ URLs. (#53)

Handle youtube /live/ URLs. (#53) #62

Workflow file for this run

name: Publish
on:
push:
branches: [ '**' ]
paths-ignore: [ '**.md' ]
workflow_call:
secrets:
MAVEN_USERNAME:
required: false
MAVEN_PASSWORD:
required: false
ORG_GRADLE_PROJECT_mavenCentralPassword:
required: false
ORG_GRADLE_PROJECT_mavenCentralUsername:
required: false
ORG_GRADLE_PROJECT_signingInMemoryKey:
required: false
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword:
required: false
jobs:
build:
runs-on: ubuntu-latest
env:
MAVEN_USERNAME: ${{ vars.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11
cache: gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build and Publish
run: ./gradlew build publish --no-daemon -PMAVEN_USERNAME=$MAVEN_USERNAME -PMAVEN_PASSWORD=$MAVEN_PASSWORD
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: Lavaplayer.zip
path: |
main/build/libs/lavaplayer-*.jar
common/build/libs/lava-common-*.jar
extensions/format-xm/build/libs/lavaplayer-ext-format-xm-*.jar
extensions/youtube-rotator/build/libs/lavaplayer-ext-youtube-rotator-*.jar
natives-publish/build/libs/lavaplayer-natives-*.jar