File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 4343 test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"
4444 }
4545
46- # Check each project for changes and update versions
47- for proj in $(find . -name "*.csproj"); do
46+ # Check each project for changes and update versions in MimeTypeCore folder
47+ for proj in $(find ./MimeTypeCore -name "*.csproj"); do
4848 PROJECT_NAME=$(basename "$proj")
4949 PROJECT_DIR=$(dirname "$proj")
5050
@@ -127,16 +127,25 @@ jobs:
127127 - name : Restore dependencies
128128 if : env.SHOULD_RELEASE == 'true'
129129 run : dotnet restore
130+ working-directory : ./MimeTypeCore
130131
131132 # Build solution
132133 - name : Build
133134 if : env.SHOULD_RELEASE == 'true'
134135 run : dotnet build --configuration Release --no-restore
136+ working-directory : ./MimeTypeCore
137+
138+ # Run tests
139+ - name : Test
140+ if : env.SHOULD_RELEASE == 'true'
141+ run : dotnet test --configuration Release --no-build
142+ working-directory : ./MimeTypeCore
135143
136144 # Create NuGet packages
137145 - name : Pack
138146 if : env.SHOULD_RELEASE == 'true'
139- run : dotnet pack --configuration Release --no-build --output nupkgs
147+ run : dotnet pack --configuration Release --no-build --output ../nupkgs
148+ working-directory : ./MimeTypeCore
140149
141150 # Create GitHub release
142151 - name : Create Release
You can’t perform that action at this time.
0 commit comments