fix: misturar versãoes

This commit is contained in:
Ricardo Carneiro 2025-05-27 01:03:29 -03:00
parent 3112fe12de
commit 7fb00d3efc

View File

@ -27,25 +27,16 @@ jobs:
find . -name "*.sln" -type f find . -name "*.sln" -type f
- name: Restore dependencies - name: Restore dependencies
run: | run: dotnet restore
echo "Using solution file from root..."
ls -la *.sln
dotnet restore YTExtractor.sln
- name: Build application - name: Build application
run: | run: dotnet build --configuration Release --no-restore
echo "Building solution from root..."
dotnet build YTExtractor.sln --configuration Release --no-restore
- name: Run tests (opcional) - name: Run tests (opcional)
run: | run: dotnet test --no-build --verbosity normal
echo "Running tests on solution..."
dotnet test YTExtractor.sln --no-build --verbosity normal || true
- name: Publish application - name: Publish application
run: | run: dotnet publish --configuration Release --output ./publish
echo "Publishing solution..."
dotnet publish YTExtractor.sln --configuration Release --output ./publish
- name: Build Docker image - name: Build Docker image
run: | run: |