19
19
20
20
env :
21
21
Solution_Name : SQLDataTransfer.sln
22
- # Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
23
- # Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
24
- # Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.
25
22
26
23
steps :
27
24
- name : Checkout
@@ -39,20 +36,17 @@ jobs:
39
36
- name : Setup MSBuild.exe
40
37
uses : microsoft/setup-msbuild@v1.0.2
41
38
42
- # Execute all unit tests in the solution
43
- # - name: Execute unit tests
44
- # run: dotnet test
45
39
46
40
# Restore the application to populate the obj folder with RuntimeIdentifiers
47
- # - name: Restore the application
48
- # run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
49
- # env:
50
- # Configuration: ${{ matrix.configuration }}
41
+ - name : Restore the application
42
+ run : msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
43
+ env :
44
+ Configuration : ${{ matrix.configuration }}
51
45
52
46
- name : Build project
53
47
run : msbuild.exe $env:Solution_Name /t:Clean /t:Build /p:Configuration=$env:Configuration /p:OutDir=../publish/win-x64
54
- # - name: Publish application
55
- # run: dotnet publish -c release -r win-x64 --output ./publish/win-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true
48
+ env :
49
+ Configuration : ${{ matrix.configuration }}
56
50
57
51
- name : see directory
58
52
run : dir "publish/win-x64"
64
58
- name : see directory
65
59
run : dir
66
60
67
- # - name: Create Release
68
- # id: create_release
69
- # uses: actions/create-release@v1
70
- # env:
71
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72
- # with:
73
- # tag_name: ${{ github.ref }}
74
- # release_name: Release ${{ github.ref }}
75
- # # body: |
76
- # # Changes in this release:
77
- # # - Add feature X
78
- # # - Fix issue Y
79
- # body: |
80
- # #${{ github.ref }}
81
- # 
82
- # draft: true
83
- # prerelease: true
84
-
85
- # # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
86
- # - name: Upload build artifacts
87
- # uses: actions/upload-artifact@v3
88
- # with:
89
- # name: ResizeIt
90
- # path: ResizeIt.zip
91
61
92
62
# - name: Set Variables
93
63
# id: vars
103
73
with :
104
74
body : |
105
75
###### ${{ steps.variables.outputs.release_date }}
106
- 
76
+ 
107
77
draft : true
108
78
prerelease : true
109
79
files : |
0 commit comments