-
Notifications
You must be signed in to change notification settings - Fork 0
update actions, and dotnet version #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
e1b0017
163307f
edceeae
91d7cff
aac315b
1853d72
96a06f2
837c734
b7fb92d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,19 +11,19 @@ jobs: | |
| create_nuget: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4.1.1 | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 # Get all history to allow automatic versioning using MinVer | ||
|
|
||
| # Install the .NET SDK indicated in the global.json file | ||
| - name: Setup .NET | ||
| uses: actions/setup-dotnet@v4 | ||
| uses: actions/setup-dotnet@v5 | ||
|
|
||
|
grimley517 marked this conversation as resolved.
|
||
| # Create the NuGet package in the folder from the environment variable NuGetDirectory | ||
| - run: dotnet pack $PROJECT --configuration Release --output ${{ env.NuGetDirectory }} | ||
|
|
||
| # Publish the NuGet package as an artifact, so they can be used in the following jobs | ||
| - uses: actions/upload-artifact@v4 | ||
| - uses: actions/upload-artifact@v7 | ||
| with: | ||
|
grimley517 marked this conversation as resolved.
|
||
| name: nuget | ||
| if-no-files-found: error | ||
|
|
@@ -36,10 +36,10 @@ jobs: | |
| steps: | ||
| # Install the .NET SDK indicated in the global.json file | ||
| - name: Setup .NET | ||
| uses: actions/setup-dotnet@v4 | ||
| uses: actions/setup-dotnet@v5 | ||
|
|
||
| # Download the NuGet package created in the previous job | ||
| - uses: actions/download-artifact@v4 | ||
| - uses: actions/download-artifact@v7 | ||
| with: | ||
|
Comment on lines
37
to
43
|
||
| name: nuget | ||
| path: ${{ env.NuGetDirectory }} | ||
|
|
@@ -57,9 +57,9 @@ jobs: | |
| run_test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v6 | ||
| - name: Setup .NET | ||
| uses: actions/setup-dotnet@v4 | ||
| uses: actions/setup-dotnet@v5 | ||
| - name: Run tests | ||
| run: dotnet test $PROJECT --configuration Release | ||
|
|
||
|
|
@@ -72,14 +72,14 @@ jobs: | |
| needs: [ validate_nuget, run_test ] | ||
| steps: | ||
| # Download the NuGet package created in the previous job | ||
| - uses: actions/download-artifact@v4 | ||
| - uses: actions/download-artifact@v7 | ||
| with: | ||
| name: nuget | ||
| path: ${{ env.NuGetDirectory }} | ||
|
|
||
| # Install the .NET SDK indicated in the global.json file | ||
| - name: Setup .NET Core | ||
| uses: actions/setup-dotnet@v4 | ||
| uses: actions/setup-dotnet@v5 | ||
|
|
||
| # Publish all NuGet packages to NuGet.org | ||
| # Use --skip-duplicate to prevent errors if a package with the same version already exists. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "9.0.100", | ||
| "rollForward": "latestFeature" | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.