diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index fcfdff2..c73ff87 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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}} diff --git a/README.md b/README.md index b5d9b6c..bf1aa6d 100644 --- a/README.md +++ b/README.md @@ -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 . \ No newline at end of file + - 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 . \ No newline at end of file diff --git a/Scoring/ScoringEngine.csproj b/Scoring/ScoringEngine.csproj index b7645ee..4a20748 100644 --- a/Scoring/ScoringEngine.csproj +++ b/Scoring/ScoringEngine.csproj @@ -40,11 +40,11 @@ - + True - + True diff --git a/citolab.jpeg b/citolab.jpeg new file mode 100644 index 0000000..6759d11 Binary files /dev/null and b/citolab.jpeg differ diff --git a/citolab.png b/citolab.png deleted file mode 100644 index 816fc2c..0000000 Binary files a/citolab.png and /dev/null differ