diff --git a/.github/workflows/tool_build.yml b/.github/workflows/tool_build.yml new file mode 100644 index 0000000..110cfb8 --- /dev/null +++ b/.github/workflows/tool_build.yml @@ -0,0 +1,30 @@ +name: 'Tool Build' + +on: + push: + branches: + - main + +jobs: + tool-build: + name: Build Deployments Tool + runs-on: ubuntu-latest + strategy: + matrix: + configuration: [ 'Debug', 'Release' ] + steps: + - name: Setup dotnet + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + + - name: Checkout + uses: actions/checkout@v4 + + - name: Restore + run: | + cd temp_workspace + dotnet restore + + - name: Build + run: dotnet build -c ${{ matrix.configuration }}