-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
0189a73
commit 291f179
Showing
2 changed files
with
42 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,40 @@ | ||
name: "Plugin CI/CD" | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
plugin: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
lfs: true | ||
|
||
- name: Set up MSVC | ||
uses: ilammy/[email protected] | ||
with: | ||
arch: x86 | ||
|
||
- name: Compile plugin | ||
run: | | ||
cmake . --preset MP-Release | ||
cmake --build --preset MP-Release | ||
- name: Find plugin | ||
run: | | ||
$plugin_dll = Get-ChildItem *.dll -Recurse | Select-Object -First 1 -ExpandProperty FullName | ||
$plugin_dll = $plugin_dll.Replace((Resolve-Path ".").Path + "\", "") | ||
$plugin_dll = $plugin_dll.Replace("\", "/") | ||
echo "plugin_dll=$plugin_dll" >> $env:GITHUB_ENV | ||
echo "Found plugin path: $env:plugin_dll" | ||
- name: Upload plugin | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
body_path: changelog.md | ||
files: ${{ env.plugin_dll }} |
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,2 @@ | ||
- Refactorized code base to support multiple gothic platforms | ||
- Added support for **gothic 2** platform |