From 71a49a94a4827dc0a6c161f64a5d30831cc19499 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 31 Mar 2021 22:19:59 +0200 Subject: [PATCH] Creating a CD file that build the app. --- .github/workflows/release.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..55d03afb --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Release the application + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ${{matrix.os}} + strategy: + matrix: + os: + - ubuntu-latest + #- windows-latest + #- macOS-latest + steps: + - uses: actions/checkout@v1 + - name: Checkout submodules + run: git submodule update --init --recurse + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + - name: Build the app + run: dotnet publish -c Release -o dist + - uses: actions/upload-artifact@v2 + with: + name: artifact-${{matrix.os}} + path: dist/*