mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-19 15:09:19 +00:00
Update publish.yml
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew api:clean api:build --no-daemon --stacktrace
|
||||
run: ./gradlew clean build --no-daemon --stacktrace
|
||||
- name: Publish to Nexus
|
||||
if: ${{ env.HAS_TOKEN == 'true' }}
|
||||
run: ./gradlew api:publishMavenPublicationToSkyRepositoryRepository
|
||||
run: ./gradlew publishMavenPublicationToHibiscusMCRepositoryRepository
|
||||
env:
|
||||
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
|
||||
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user