diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index f289d2f..32a92b3 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -41,15 +41,19 @@ jobs: - name: Build run: dotnet build ./src/**/*.csproj --configuration Release --verbosity ${{ env.dotnetVerbosity }} + shell: bash - name: Test run: dotnet test ./src/**/*.csproj --configuration Release --verbosity ${{ env.dotnetVerbosity }} --collect "Code coverage" + shell: bash - name: Pack CI run: dotnet pack ./src/**/*.csproj --output ./artifacts/ci --configuration Release --verbosity ${{ env.dotnetVerbosity }} /p:VersionSuffix=ci-${{ github.run_number }} + shell: bash - name: Pack Release run: dotnet pack ./src/**/*.csproj --output ./artifacts/release --configuration Release --verbosity ${{ env.dotnetVerbosity }} + shell: bash - uses: actions/upload-artifact@v3 with: @@ -78,6 +82,7 @@ jobs: - name: Publish Samples run: dotnet publish ./samples/**/*.csproj --configuration Release --output ./samples/ + shell: bash - uses: actions/upload-artifact@v2 with: @@ -100,4 +105,4 @@ jobs: run: | foreach($file in (Get-ChildItem "./artifacts/" -Recurse -Include *.nupkg)) { dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate - } \ No newline at end of file + } diff --git a/Orneholm.PEAccountingNet.sln b/Orneholm.PEAccountingNet.sln index 3acdf7e..c91e69e 100644 --- a/Orneholm.PEAccountingNet.sln +++ b/Orneholm.PEAccountingNet.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29519.87 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34330.188 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Orneholm.PEAccountingNet", "src\Orneholm.PEAccountingNet\Orneholm.PEAccountingNet.csproj", "{ADB11A8E-048D-4D93-8A9F-E342F9C09C87}" EndProject @@ -32,6 +32,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Orneholm.PEAccountingNet.Co EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Orneholm.PEAccountingNet.Test", "test\Orneholm.PEAccountingNet.Test\Orneholm.PEAccountingNet.Test.csproj", "{19981D51-F730-419A-91B6-57B62A60E74E}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{45AE86D0-E81F-455F-8B5E-96CD64306D0D}" + ProjectSection(SolutionItems) = preProject + .github\workflows\build_and_publish.yml = .github\workflows\build_and_publish.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -59,6 +64,7 @@ Global {1AE140F3-12CB-4617-A45A-885C420619FA} = {8D2D1423-49A7-45BD-82BA-281069F8C452} {1664B19C-6765-4BAF-A99D-C49F3AFBE3CF} = {26DA93F5-6917-41BB-B66A-12514D6B6DF7} {19981D51-F730-419A-91B6-57B62A60E74E} = {B8DE222B-30F0-41C4-9679-A32580DBDE5C} + {45AE86D0-E81F-455F-8B5E-96CD64306D0D} = {1AE140F3-12CB-4617-A45A-885C420619FA} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {C65CB752-5558-4100-A1D5-E5853F1DE027}