Ver código fonte

Create dotnet-desktop.yml

Daniel Chalmers 4 anos atrás
pai
commit
6a6d20dda7
1 arquivos alterados com 23 adições e 0 exclusões
  1. 23 0
      .github/workflows/dotnet-desktop.yml

+ 23 - 0
.github/workflows/dotnet-desktop.yml

@@ -0,0 +1,23 @@
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+    runs-on: windows-latest
+    
+    steps:
+    - uses: actions/checkout@v2
+    
+    - uses: actions/setup-dotnet@v1
+      with:
+        dotnet-version: 5.0.x
+
+    - name: Build
+      run: dotnet build -c Release
+      
+    - uses: actions/upload-artifact@v2
+      with:
+          path: 'DesktopClock/bin/Release/'