diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 19a4d3d023..564f891dde 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -151,12 +151,11 @@ jobs: if: matrix.prepare_cmd # This is required for Playwright testing - - name: Set EnableNodeCliInspectArguments fuse enabled (sudo) - if: runner.os == 'Linux' - run: sudo npx @electron/fuses write --app ${{ matrix.executable }} EnableNodeCliInspectArguments=on - name: Set EnableNodeCliInspectArguments fuse enabled - if: runner.os != 'Linux' - run: npx @electron/fuses write --app ${{ matrix.executable }} EnableNodeCliInspectArguments=on + run: $RUN_AS npx @electron/fuses write --app ${{ matrix.executable }} EnableNodeCliInspectArguments=on + env: + # We need sudo on Linux as it is installed in /opt/ + RUN_AS: ${{ runner.os == 'Linux' && 'sudo' || '' }} # TODO remove me - name: DEBUG @@ -167,6 +166,7 @@ jobs: name: ${{ matrix.artifact }}-executable retention-days: 1 - name: DEBUG2 + if: always() && runner.os == 'macOS' run: | ls -lah ${{ matrix.executable }} tree ${{ matrix.executable }}