Skip to content

Commit

Permalink
Merge pull request #44 from GroupMountain/develop
Browse files Browse the repository at this point in the history
adapt: adapt LeviLamina 1.0.0-rc.3
  • Loading branch information
killcerr authored Jan 12, 2025
2 parents 0fea60a + 831f973 commit b34c84f
Show file tree
Hide file tree
Showing 18 changed files with 1,868 additions and 643 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
uses: actions/checkout@v2

- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: "2.9.3"

- run: |
xmake repo -u
Expand All @@ -23,14 +21,8 @@ jobs:
- run: |
xmake -w -y
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: |
bin/DLL/
- uses: actions/upload-artifact@v3
with:
name: PDB
path: |
bin/PDB/
bin/
33 changes: 8 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
uses: actions/checkout@v2

- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: "2.9.3"

- run: |
xmake repo -u
Expand All @@ -23,17 +21,11 @@ jobs:
- run: |
xmake -w -y
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: |
bin/DLL/
- uses: actions/upload-artifact@v3
with:
name: PDB
path: |
bin/PDB/
bin/
upload-to-release:
needs:
Expand All @@ -45,32 +37,23 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Download Plugin
uses: actions/download-artifact@v3
- name: Download Mod
uses: actions/download-artifact@v4
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: release/Plugin/

- name: Download PDB
uses: actions/download-artifact@v3
with:
name: PDB
path: release/PDB/
path: artifact

- name: Copy additional files
run: |
cp LICENSE README.md release/Plugin/
cp -v LICENSE README.md artifact/
- name: Archive release
run: |
cd release/Plugin
zip -r ../${{ github.event.repository.name }}-windows-x64.zip *
cd ..
working-directory: artifact

- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: |
release/${{ github.event.repository.name }}-windows-x64.zip
release/PDB/${{ github.event.repository.name }}.pdb
${{ github.event.repository.name }}-windows-x64.zip
2 changes: 1 addition & 1 deletion lib/BEPlaceholderAPI-JS.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare class PAPI {
export class PAPI {
/** 注册一个玩家PAPI变量 */
static registerPlayerPlaceholder(
/** PAPI调用函数 */
Expand Down
Loading

0 comments on commit b34c84f

Please sign in to comment.