diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 5925a53..3f6d505 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -45,7 +45,7 @@ jobs: - name: dotnet tool restore run: dotnet tool restore - name: dotnet restore - run: dotnet restore + run: dotnet restore -p:Configuration=Release - name: save nuget cache uses: actions/cache/save@v3 if: steps.nuget-cache.outputs.cache-hit != 'true' @@ -55,4 +55,11 @@ jobs: - name: dotnet build run: dotnet build --no-restore --configuration Release - name: dotnet test - run: dotnet test \ No newline at end of file + run: dotnet test + - name: dotnet publish + run: dotnet publish --no-build --configuration Release --output ./dist + - name: upload artifact + uses: actions/upload-artifact@v2 + with: + name: dist + path: ./dist \ No newline at end of file