Compare commits
2 Commits
ab01f8e7fb
...
f1c07cea8e
| Author | SHA1 | Date | |
|---|---|---|---|
| f1c07cea8e | |||
|
|
7fb00d3efc |
@ -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: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user