Skip to content

Commit 8d748e4

Browse files
authored
Change dir
1 parent c81f7da commit 8d748e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main_dynamicscharity.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
run: dotnet restore ./Dynamics/Dynamics.csproj
3030

3131
- name: Build with dotnet
32-
run: dotnet build --configuration Release
32+
run: dotnet build --configuration Release --no-restore ./Dynamics/Dynamics.csproj
3333

3434
- 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
3636

3737
- name: Upload artifact for deployment job
3838
uses: actions/upload-artifact@v4
3939
with:
4040
name: .net-app
41-
path: ./Dynamics/bin/Release/net8.0/publish
41+
path: ${{ github.workspace }}/Dynamics/publish
4242

4343
deploy:
4444
runs-on: ubuntu-latest
@@ -69,4 +69,4 @@ jobs:
6969
with:
7070
app-name: 'dynamicscharity'
7171
slot-name: 'Production'
72-
package: ./Dynamics/bin/Release/net8.0/publish
72+
package: dynamics-published-app

0 commit comments

Comments
 (0)