mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-26 18:29:18 +00:00
add new patches to api and publish api
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -38,6 +38,13 @@ jobs:
|
||||
- name: Create Mojmap Jar
|
||||
run: ./gradlew createMojmapPaperclipJar --stacktrace
|
||||
|
||||
- name: Publish Packages
|
||||
if: github.ref_name == env.branch
|
||||
run: |
|
||||
export GITHUB_USERNAME=${{ env.GH_USERNAME }}
|
||||
export GITHUB_TOKEN=${{ secrets.GH_TOKEN }}
|
||||
./gradlew publish --stacktrace
|
||||
|
||||
- name: Upload Artifacts
|
||||
if: env.debug == 'true' || github.ref_name != env.branch
|
||||
uses: actions/upload-artifact@main
|
||||
|
||||
Reference in New Issue
Block a user