fix: misturar versãoes #7
@ -27,25 +27,16 @@ jobs:
|
||||
find . -name "*.sln" -type f
|
||||
|
||||
- name: Restore dependencies
|
||||
run: |
|
||||
echo "Using solution file from root..."
|
||||
ls -la *.sln
|
||||
dotnet restore YTExtractor.sln
|
||||
run: dotnet restore
|
||||
|
||||
- name: Build application
|
||||
run: |
|
||||
echo "Building solution from root..."
|
||||
dotnet build YTExtractor.sln --configuration Release --no-restore
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
|
||||
- name: Run tests (opcional)
|
||||
run: |
|
||||
echo "Running tests on solution..."
|
||||
dotnet test YTExtractor.sln --no-build --verbosity normal || true
|
||||
run: dotnet test --no-build --verbosity normal
|
||||
|
||||
- name: Publish application
|
||||
run: |
|
||||
echo "Publishing solution..."
|
||||
dotnet publish YTExtractor.sln --configuration Release --output ./publish
|
||||
run: dotnet publish --configuration Release --output ./publish
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user