Skip to content

Commit

Permalink
Add tth package support for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jan 18, 2023
1 parent e80277a commit a2f18de
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ jobs:
id: rel
run: |
7z a -y -tzip -mmt -mx=9 ../../LiteLoader-${{ github.event.inputs.tag }}.zip *
7z a -y -tzip -mmt -mx=9 ../../LiteLoader-${{ github.event.inputs.tag }}.tth * ../../assets/tooth.json
shell: bash

- name: Create New Release
Expand All @@ -149,6 +150,7 @@ jobs:
bodyFile: ${{ github.workspace }}\CHANGELOG.md
artifacts: |
${{ github.workspace }}\LiteLoader-${{ github.event.inputs.tag }}.zip
${{ github.workspace }}\LiteLoader-${{ github.event.inputs.tag }}.tth
${{ github.workspace }}\PDB.zip
env:
GITHUB_REPOSITORY: LiteLDev/LiteLoaderBDS
2 changes: 1 addition & 1 deletion CMake/PackOutput.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ add_custom_target(PackOutput)
# Copy assets to output after build all.
add_custom_command(
TARGET PackOutput POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/assets ${CMAKE_BINARY_DIR}/output/
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/assets/plugins ${CMAKE_BINARY_DIR}/output/plugins/
COMMENT "Copying assets to output"
VERBATIM
)
Expand Down
34 changes: 34 additions & 0 deletions assets/tooth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"format_version": 1,
"tooth": "github.com/LiteLoaderBDS-Hub/LiteLoaderBDS",
"version": "2.9.2",
"dependencies": {},
"information": {
"name": "LiteLoaderBDS",
"description": "An epoch-making cross-language plugin loader for Minecraft Bedrock Dedicated Server (BDS). ",
"author": "LiteLDev",
"license": "LGPL-3.0",
"homepage": "https://docs.litebds.com"
},
"placement": [
{
"source": "LLPeEditor.exe",
"destination": "LLPeEditor.exe"
},
{
"source": "LiteLoader.dll",
"destination": "LiteLoader.dll"
},
{
"source": "LLPreLoader.dll",
"destination": "LLPreLoader.dll"
},
{
"source": "plugins/*",
"destination": "plugins/*"
}
],
"possession": [
"plugins/LiteLoader/"
]
}

0 comments on commit a2f18de

Please sign in to comment.