Skip to content

Commit ca678f6

Browse files
Set working-directory in build-release workflow
Added the 'working-directory' property to each job step in the build-release GitHub Actions workflow to ensure scripts run from the correct directory.
1 parent ad4a1d1 commit ca678f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,15 @@ jobs:
135135
- os: ubuntu-latest
136136
script: dbatools/.github/scripts/gh-actions.ps1
137137
shell: pwsh
138+
working-directory: ${{ github.workspace }}
138139
- os: macos-latest
139140
script: dbatools/.github/scripts/gh-macactions.ps1
140141
shell: pwsh
142+
working-directory: ${{ github.workspace }}
141143
- os: windows-latest
142144
script: dbatools/.github/scripts/gh-winactions.ps1
143145
shell: pwsh
146+
working-directory: ${{ github.workspace }}
144147

145148
env:
146149
TENANTID: ${{ secrets.TENANTID }}

0 commit comments

Comments
 (0)