File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,16 @@ jobs:
29
29
run : dotnet restore ./Dynamics/Dynamics.csproj
30
30
31
31
- name : Build with dotnet
32
- run : dotnet build --configuration Release
32
+ run : dotnet build --configuration Release --no-restore ./Dynamics/Dynamics.csproj
33
33
34
34
- name : dotnet publish
35
- run : dotnet publish -c Release -o . /Dynamics/bin/Release/net8.0/publish
35
+ run : dotnet publish -c Release -o ${{ github.workspace }} /Dynamics/publish ./Dynamics/Dynamics.csproj
36
36
37
37
- name : Upload artifact for deployment job
38
38
uses : actions/upload-artifact@v4
39
39
with :
40
40
name : .net-app
41
- path : . /Dynamics/bin/Release/net8.0 /publish
41
+ path : ${{ github.workspace }} /Dynamics/publish
42
42
43
43
deploy :
44
44
runs-on : ubuntu-latest
69
69
with :
70
70
app-name : ' dynamicscharity'
71
71
slot-name : ' Production'
72
- package : ./Dynamics/bin/Release/net8.0/publish
72
+ package : dynamics-published-app
You can’t perform that action at this time.
0 commit comments