.NET Release #7
Workflow file for this run
This file contains hidden or 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: .NET Release | |
| on: create | |
| jobs: | |
| build: | |
| name: Build Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore Dap | |
| - name: Build | |
| run: dotnet build Dap -c Release --no-restore | |
| - name: Upload build | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Dap-${{ github.ref_name }}-NetStandard20 | |
| path: Dap/bin/Release/netstandard2.0/ | |
| upload: | |
| name: Upload Generated Sources | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Copy licenses | |
| run: cp LICENSE* Dap/ | |
| - name: Upload files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Dap-${{ github.ref_name }} | |
| path: | | |
| Dap/*.csproj | |
| Dap/*.cs | |
| Dap/LICENSE* |