Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
run: dotnet pack --no-build --configuration Release --output ${{ github.workspace }}/artifacts/packages /p:VersionSuffix=${{ env.PACKAGE_VERSION_SUFFIX }}
- name: Upload packages to artifacts
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: packages
path: artifacts/packages
Expand All @@ -142,7 +142,7 @@ jobs:
Copy-Item -Recurse home/assets/* _site/styles/
- name: Upload documentation to artifacts
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: documentation
path: docs/_site
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
dotnet jb inspectcode --version
dotnet jb inspectcode $env:SOLUTION_FILE --build --no-updates --dotnetcoresdk=$(dotnet --version) --output="$inspectCodeOutputPath" --format="xml" --settings=WarningSeverities.DotSettings --properties:"Configuration=Release;RunAnalyzers=false;NuGetAudit=false;ContinuousIntegrationBuild=false" --severity=WARNING --verbosity=WARN --disable-settings-layers="GlobalAll;GlobalPerProduct;SolutionPersonal;ProjectPersonal"
- name: Upload output to artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: InspectCode-${{ matrix.os }}
path: ${{ env.INSPECT_CODE_OUTPUT_PATH }}
Expand Down Expand Up @@ -271,8 +271,16 @@ jobs:
steps:
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Download package artifacts
uses: actions/download-artifact@v8
with:
name: packages
path: packages
- name: Download documentation artifacts
uses: actions/download-artifact@v8
with:
name: documentation
path: documentation
- name: Publish to GitHub Packages
if: ${{ github.event_name == 'push' || github.event_name == 'release' }}
run: |
Expand Down
Loading