build(deps): bump NuGet.Versioning from 6.8.0 to 6.10.0 #263
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 CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- main | |
paths-ignore: | |
- "**/*.md" | |
- "**/*.gitignore" | |
- "**/*.gitattributes" | |
- "**/*.yml" | |
env: | |
DOTNET_NOLOGO: 1 | |
Configuration: Release | |
defaults: | |
run: | |
shell: pwsh | |
jobs: | |
build_and_publish: | |
name: Build and Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
- run: dotnet --info | |
- run: dotnet tool restore | |
- run: dotnet restore | |
- run: dotnet build --no-restore | |
- run: dotnet test --no-build | |
- run: dotnet format --no-restore --verify-no-changes --verbosity normal | |
- name: Publish | |
run: dotnet publish src/Phalanx.App --output ./artifacts/publish-content --version-suffix "beta.pr.${{ github.run_number }}" | |
- name: Prepare artifacts | |
run: | | |
Compress-Archive ./artifacts/publish-content/wwwroot/* webapp.zip | |
Copy-Item $env:GITHUB_EVENT_PATH event.json | |
- name: Upload published artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pr-data | |
path: | | |
webapp.zip | |
event.json | |
retention-days: 7 |