Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Setup .NET
uses: actions/setup-dotnet@v5.0.1
uses: actions/setup-dotnet@v5.1.0
with:
dotnet-version: 10.0.x

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:

#Install and calculate the new version with GitVersion
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v4.2.0
uses: gittools/actions/gitversion/setup@v4.3.3
with:
versionSpec: 6.x
- name: Determine Version
uses: gittools/actions/gitversion/execute@v4.2.0
uses: gittools/actions/gitversion/execute@v4.3.3
id: gitversion # step id used as reference for output values
- name: Display GitVersion outputs
run: |
Expand All @@ -33,7 +33,7 @@ jobs:

- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5.0.1
uses: actions/setup-dotnet@v5.1.0
with:
dotnet-version: 10.0.x
- name: Test
Expand All @@ -52,12 +52,12 @@ jobs:
- name: Pack dll to NuGet package
run: dotnet pack src/MandMCounter.Core/MandMCounter.Core.csproj --configuration release -p:Version='${{ steps.gitversion.outputs.MajorMinorPatch }}'
- name: Publish Artifact
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: service
path: ${{ github.workspace }}/service
- name: Upload NuGet package to GitHub
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: nugetPackage
path: src/MandMCounter.Core/bin/Release/
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
if: github.ref == 'refs/heads/main' # only run job if on the main branch
steps:
- name: Download the build artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
- name: Azure Login
uses: azure/login@v2
with:
Expand All @@ -113,7 +113,7 @@ jobs:

#Push NuGet package to GitHub packages
- name: Download nuget package artifact
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
- name: Prep packages
run: dotnet nuget add source --username samsmithnz --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/SamSmithNZ-dotcom/index.json"
- name: Push package to GitHub packages
Expand Down
Loading