Skip to content

Commit 184ae2e

Browse files
committed
Ajuste | Github Workflow
1 parent 1beb22b commit 184ae2e

File tree

4 files changed

+14
-76
lines changed

4 files changed

+14
-76
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/dotnet-desktop.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ jobs:
1616
runs-on: windows-latest
1717

1818
env:
19-
Solution_Name: ExplorandoMarte.sln # Nome da solução
20-
Test_Project_Path: ExplorandoMarte.Tests/ExplorandoMarte.Tests.csproj # Caminho para o projeto de testes
21-
Wap_Project_Directory: ExplorandoMarte # Defina o diretório do projeto WAP
22-
Wap_Project_Path: ExplorandoMarte/ExplorandoMarte.csproj # Defina o caminho do projeto WAP
19+
Solution_Name: ExplorandoMarte.sln # Nome da solução
20+
Test_Project_Path: ExplorandoMarte.Tests/ExplorandoMarte.Tests.csproj # Caminho para o projeto de testes
21+
Publish_Directory: ExplorandoMarte/publish # Diretório de publicação
2322

2423
steps:
2524
- name: Checkout code
@@ -38,3 +37,13 @@ jobs:
3837

3938
- name: Run tests
4039
run: dotnet test ${{ env.Test_Project_Path }} --configuration ${{ matrix.configuration }} --no-restore --verbosity normal
40+
41+
- name: Publish
42+
run: dotnet publish ${{ env.Solution_Name }} --configuration ${{ matrix.configuration }} --output ${{ env.Publish_Directory }}
43+
44+
- name: Upload build artifacts
45+
uses: actions/upload-artifact@v2
46+
with:
47+
name: Published EXE
48+
path: ${{ env.Publish_Directory }}
49+

.github/workflows/main.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

ExplorandoMarte/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace ExplorandoMarte
1010
{
11-
public class Program //: Controller
11+
public class Program
1212
{
1313
public static void Main(string[] args)
1414
{

0 commit comments

Comments
 (0)