Skip to content

Commit

Permalink
Merge pull request #153 from samsmithnz/UpdatingPackagesJan27
Browse files Browse the repository at this point in the history
Updating packages
  • Loading branch information
samsmithnz authored Jan 28, 2024
2 parents be48aa8 + 0aa70e0 commit 65de549
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -73,4 +73,4 @@ jobs:
dotnet build src/DotNetCensus.sln
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
10 changes: 5 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
- name: .NET pack tool to NuGet package
run: dotnet pack src/DotNetCensus/DotNetCensus.csproj -c Release -p:Version='${{ steps.gitversion.outputs.SemVer }}'
- name: Upload package back to GitHub
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nugetToolPackage
path: src/DotNetCensus/nupkg
- name: .NET pack core projecty to NuGet package
run: dotnet pack src/DotNetCensus.Core/DotNetCensus.Core.csproj -c Release -p:Version='${{ steps.gitversion.outputs.SemVer }}'
- name: Upload package back to GitHub
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nugetCorePackage
path: src/DotNetCensus.Core/nupkg
Expand All @@ -69,7 +69,7 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- name: Run Sonarcloud test
uses: samsmithnz/[email protected].0
uses: samsmithnz/[email protected].1
with:
projects: 'src/DotNetCensus/DotNetCensus.csproj,src/DotNetCensus.Core/DotNetCensus.Core.csproj,src/DotNetCensus.Tests/DotNetCensus.Tests.csproj'
dotnet-version: '8.0.x'
Expand All @@ -87,12 +87,12 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nugetToolPackage
path: nugetToolPackage
- name: Download artifact from build job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nugetCorePackage
path: nugetCorePackage
Expand Down

0 comments on commit 65de549

Please sign in to comment.