pr loop for solution using dotnet build on cdsproj #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr-loop | |
run-name: pr loop for solution using dotnet build on cdsproj | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
shell: pwsh | |
run: | | |
cd webresource-src | |
npm install | |
cd .. | |
dotnet build --configuration release | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: my-artifacts | |
path: bin/Release | |