Skip to content

Commit ee9dd65

Browse files
committed
build-and-deploy: trace the commands to build the package
The change to restrict the PATH could not really be tested locally, and it did not work, either. Tracing the commands should make it easier to debug this. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 211be6a commit ee9dd65

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,11 @@ jobs:
241241
MAKEPKG: ${{ env.REPO != 'MSYS2-packages' && env.PACKAGE_TO_BUILD != 'git-for-windows-keyring' && 'makepkg-mingw' || 'makepkg' }}
242242
shell: bash
243243
run: |
244+
set -x &&
245+
244246
# Restrict `PATH` to MSYS2
245-
MSYS2_PATH_TYPE=minimal
246-
. /etc/profile
247+
MSYS2_PATH_TYPE=minimal &&
248+
. /etc/profile &&
247249
248250
dir="$(cygpath -au artifacts)" &&
249251
mkdir -p "$dir" &&

0 commit comments

Comments
 (0)