aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/dotnet.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/dotnet.yml')
-rw-r--r--.github/workflows/dotnet.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
new file mode 100644
index 0000000..f8efa97
--- /dev/null
+++ b/.github/workflows/dotnet.yml
@@ -0,0 +1,22 @@
+name: .NET Build
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: '6.0.x'
+ - name: Restore, Build Celesteia
+ run: dotnet build
+ - name: Publish Windows
+ run: dotnet publish -c Release -r win-x64 --self-contained
+ - name: Publish OSX
+ run: dotnet publish -c Release -r osx-x64 --self-contained
+ - name: Publish Linux
+ run: dotnet publish -c Release -r linux-x64 --self-contained \ No newline at end of file