feat: Initialize the mod

This commit is contained in:
zimuya4153
2025-04-19 22:31:45 +08:00
Unverified
parent 40646ce097
commit ba6b680653
17 changed files with 838 additions and 300 deletions
+1 -16
View File
@@ -10,8 +10,6 @@ jobs:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
# with:
# xmake-version: branch@master
- uses: actions/cache@v4
with:
@@ -34,17 +32,4 @@ jobs:
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: |
bin/
# clang-format:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# - run: |
# choco install llvm -y --version=17.0.6
# - name: clang-format
# run: |
# Get-ChildItem src/ -Filter *.cpp -Recurse | ForEach-Object { clang-format --dry-run -Werror $_.FullName; if ($LASTEXITCODE -ne 0) { exit 1; } }
# Get-ChildItem src/ -Filter *.h -Recurse | ForEach-Object { clang-format --dry-run -Werror $_.FullName; if ($LASTEXITCODE -ne 0) { exit 1; } }
bin/
+1 -19
View File
@@ -10,8 +10,6 @@ jobs:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
# with:
# xmake-version: branch@master
- uses: actions/cache@v4
with:
@@ -36,25 +34,9 @@ jobs:
path: |
bin/
update-release-notes:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
- uses: softprops/action-gh-release@v1
with:
body: |
${{ steps.extract-release-notes.outputs.release_notes }}
upload-to-release:
needs:
- build
- update-release-notes
permissions:
contents: write
runs-on: ubuntu-latest
@@ -67,7 +49,7 @@ jobs:
path: artifact
- run: |
cp CHANGELOG.md LICENSE README.md artifact/
cp LICENSE README.md artifact/
- run: |
zip -r ../${{ github.event.repository.name }}-windows-x64.zip *