Skip to content

Commit 080ad67

Browse files
Refactor artifact paths to use github.workspace
Updated the workflow to use github.workspace for artifact paths.
1 parent 87bf76a commit 080ad67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/api_job-helper-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
working-directory: ./backend
2929

3030
- name: dotnet publish
31-
run: dotnet publish -c Release -o "${{env.DOTNET_ROOT}}/myapp"
31+
run: dotnet publish -c Release -o ${{github.workspace}}/myapp
3232
working-directory: ./backend
3333

3434
- name: Upload artifact for deployment job
3535
uses: actions/upload-artifact@v4
3636
with:
3737
name: .net-app
38-
path: ${{env.DOTNET_ROOT}}/myapp
38+
path: ${{github.workspace}}/myapp
3939

4040
deploy:
4141
runs-on: windows-latest

0 commit comments

Comments
 (0)