Skip to content

Commit

Permalink
update nuget pack script
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelh1983 committed Aug 3, 2023
1 parent 1f36c29 commit 970fd8e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,15 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Pack
run: dotnet pack Scoring/ScoringEngine.csproj --no-build --no-restore
- name: Publish
run: dotnet nuget push Citolab.QTI.ScoringEngine.1.2.0.nupkg --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}}
# - name: Publish NuGet
# # You may pin to the exact commit or the version.
# # uses: brandedoutcast/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc
# uses: brandedoutcast/publish-nuget@v2.5.5
# with:
# # Filepath of the project to be packaged, relative to root of repository
# PROJECT_FILE_PATH: Scoring/ScoringEngine.csproj
# NUGET_KEY: ${{secrets.NUGET_API_KEY}}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,6 @@ handles:
```
There are three example implementations in this engine:
- depcp:Trim|questify:Trim: Trims the value
- depcp:ToAscii|questify:ToAscii: Handlers diacritics
- depcp:ParseCommaDecimal|questify:ParseCommaDecimal: Replaces , to .
- depcp:Trim|questify:Trim|qade:Trim: Trims the value
- depcp:ToAscii|questify:ToAscii|questify:qade: Handlers diacritics
- depcp:ParseCommaDecimal|questify:ParseCommaDecimal|qade:ParseCommaDecimal: Replaces , to .
4 changes: 2 additions & 2 deletions Scoring/ScoringEngine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
</ItemGroup>

<ItemGroup>
<None Include="..\citolab.png">
<None Include="..\citolab.jpeg">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\citolab.png">
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
Expand Down
Binary file added citolab.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed citolab.png
Binary file not shown.

0 comments on commit 970fd8e

Please sign in to comment.