Skip to content

Commit 796e442

Browse files
Merge pull request #52 from KrystianLesniak/feature/workflow_build_plugin
Feature: Add workflow to build a plugin
2 parents c0db3cf + 4e6b7e6 commit 796e442

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Create a build
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build:
7+
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Setup .NET
13+
uses: actions/setup-dotnet@v4
14+
with:
15+
dotnet-version: |
16+
7
17+
8
18+
- name: Publish package
19+
run: dotnet publish src/GamesLauncher -c Release -r win-x64 --no-self-contained -o publish/
20+
- uses: actions/upload-artifact@v4
21+
with:
22+
name: GamesLauncher.zip
23+
path: publish/
24+
if-no-files-found: error

0 commit comments

Comments
 (0)