fix form data returning CLR object name instead of value #21
Workflow file for this run
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: Publish Release | |
on: | |
push: | |
tags: | |
- '*.*.*' | |
jobs: | |
build: | |
env: | |
SOLUTION: 'src/Hawf.sln' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Configure .NET 6 | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Setup Dependencies | |
run: dotnet restore $SOLUTION | |
- name: Build Solution | |
run: dotnet build $SOLUTION --configuration Release -p:Version=${{github.ref_name}} --no-restore | |
- name: Run Tests | |
run: dotnet test $SOLUTION /p:Configuration=Release --no-restore --no-build --verbosity normal | |
- name: Nuget Pack | |
run: dotnet pack $SOLUTION /p:Version=${{github.ref_name}} -c Release --no-build --output package/ | |
- name: ZIP Artifacts | |
uses: papeloto/action-zip@v1 | |
with: | |
files: package/ | |
dest: package.zip | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: package | |
path: ${{ github.workspace }}/package.zip | |
- name: NuGet Publish | |
run: dotnet nuget push "package/Hawf.${{github.ref_name}}.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json |