50
.github/workflows/global.yaml
vendored
50
.github/workflows/global.yaml
vendored
@@ -67,18 +67,18 @@ jobs:
|
||||
- name: Build Sources
|
||||
run: ./gradlew build --info --stacktrace
|
||||
|
||||
- name: Create Re-obfuscated Server Jar
|
||||
run: ./gradlew createReobfPaperclipJar --info --stacktrace
|
||||
# - name: Create Re-obfuscated Server Jar
|
||||
# run: ./gradlew createReobfPaperclipJar --info --stacktrace
|
||||
|
||||
- name: Create Mojang-mapped Server Jar
|
||||
run: ./gradlew createMojmapPaperclipJar --info --stacktrace
|
||||
# - name: Create Mojang-mapped Server Jar
|
||||
# run: ./gradlew createMojmapPaperclipJar --info --stacktrace
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: build/libs/*.jar
|
||||
if-no-files-found: error
|
||||
compression-level: 9
|
||||
# - name: Upload artifacts
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# path: build/libs/*.jar
|
||||
# if-no-files-found: error
|
||||
# compression-level: 9
|
||||
|
||||
# - name: Publish Packages
|
||||
# run: ./gradlew publish --info --stacktrace
|
||||
@@ -91,19 +91,19 @@ jobs:
|
||||
github_token: ${{ secrets.GH_PAT }}
|
||||
if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
|
||||
|
||||
- name: Update Javadocs
|
||||
uses: PlazmaMC/PlazmaBukkit/.github/actions/javadocs@main
|
||||
with:
|
||||
version: ${{ env.VERSION }}
|
||||
github_token: ${{ secrets.GH_PAT }}
|
||||
if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
|
||||
# - name: Update Javadocs
|
||||
# uses: PlazmaMC/PlazmaBukkit/.github/actions/javadocs@main
|
||||
# with:
|
||||
# version: ${{ env.VERSION }}
|
||||
# github_token: ${{ secrets.GH_PAT }}
|
||||
# if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
|
||||
|
||||
- name: Release artifacts
|
||||
uses: PlazmaMC/PlazmaBukkit/.github/actions/release@main
|
||||
with:
|
||||
version: ${{ env.VERSION }}
|
||||
development: ${{ startsWith(github.ref_name, 'dev/') }}
|
||||
build_number: ${{ env.BUILDID }}
|
||||
github_token: ${{ secrets.GH_PAT }}
|
||||
discord_webhook: ${{ secrets.WEBHOOK_URL }}
|
||||
if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
|
||||
# - name: Release artifacts
|
||||
# uses: PlazmaMC/PlazmaBukkit/.github/actions/release@main
|
||||
# with:
|
||||
# version: ${{ env.VERSION }}
|
||||
# development: ${{ startsWith(github.ref_name, 'dev/') }}
|
||||
# build_number: ${{ env.BUILDID }}
|
||||
# github_token: ${{ secrets.GH_PAT }}
|
||||
# discord_webhook: ${{ secrets.WEBHOOK_URL }}
|
||||
# if: startsWith(github.ref_name, 'ver/') || startsWith(github.ref_name, 'dev/')
|
||||
|
||||
Reference in New Issue
Block a user