Merge pull request 'fix: misturar versãoes' (#7) from release/V1.0.0 into main
Some checks failed
Build and Deploy ASP.NET API / build-and-deploy (push) Failing after 0s

Reviewed-on: http://git.carneiro.ddnsfree.com/ricardo/YTExtractor/pulls/7
This commit is contained in:
ricardo 2025-05-27 04:03:58 +00:00
commit f1c07cea8e

View File

@ -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: |