diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a652924 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,35 @@ +name: .NET + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +jobs: + build: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v3 + - name: Setup Node.JS + uses: actions/setup-node@v4 + with: + node-version: 16 + cache: npm + - name: Install NPM dependencies + run: npm ci + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 3.1.301 + - name: Restore + run: dotnet tool restore + - name: Paket install + run: dotnet paket install + - name: Build + run: dotnet fake build + - uses: actions/upload-artifact@v3 + with: + name: my-artifact + path: release