-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: xmake-io/github-action-setup-xmake@v1 | ||
|
||
- run: | | ||
xmake repo -u | ||
- run: | | ||
xmake f -a x64 -m release -p windows -v -y | ||
- run: | | ||
xmake -w -y | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: movinglight-windows-x64-${{ github.sha }} | ||
path: | | ||
build/windows/x64/release/MovingLight.dll | ||
build/windows/x64/release/MovingLight.pdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: xmake-io/github-action-setup-xmake@v1 | ||
|
||
- run: | | ||
xmake repo -u | ||
- run: | | ||
xmake f -a x64 -m release -p windows -v -y | ||
- run: | | ||
xmake -w -y | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: movinglight-windows-x64-${{ github.sha }} | ||
path: | | ||
build/windows/x64/release/MovingLight.dll | ||
build/windows/x64/release/MovingLight.pdb | ||
upload-to-release: | ||
needs: | ||
- build | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: movinglight-windows-x64-${{ github.sha }} | ||
path: bin | ||
|
||
- run: | | ||
cp CHANGELOG.md LICENSE README.md bin/ | ||
- name: Archive release | ||
run: | | ||
cd bin | ||
zip -r ../movinglight-windows-x64.zip * | ||
cd .. | ||
- uses: softprops/action-gh-release@v1 | ||
with: | ||
append_body: true | ||
files: | | ||
movinglight-windows-x64.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [2.3.0] - 2023-10-18 | ||
|
||
### Changed | ||
|
||
- Adapt to BDS 1.20.31 and LiteLoaderBDS 2.16.2. | ||
|
||
[Unreleased]: https://github.com/Futrime/CSharpProjectTemplate/compare/v2.3.0...HEAD | ||
[2.3.0]: https://github.com/Futrime/CSharpProjectTemplate/releases/tag/v2.3.0 |