From a64e460e54294698bd3f3d03de58a2ddd72b4736 Mon Sep 17 00:00:00 2001 From: toofar Date: Sun, 25 Feb 2024 16:01:26 +1300 Subject: try cp instead of move, for powershell Apparently these GHA steps are being run in powershell in windows where `mv` is implemented by `Move-Item` where you have to use -Force to overwrite destination files. But that's not portable. cp does happily overwrite without any additional instruction though... --- .github/workflows/nightly.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a78590de9..b326c2ad6 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -60,7 +60,8 @@ jobs: if: "contains(matrix.args, '--debug')" run: | sed '/.-d., .--debug.,/s/$/ default=True,/' qutebrowser/qutebrowser.py > qutebrowser/qutebrowser.py.tmp - mv qutebrowser/qutebrowser.py.tmp qutebrowser/qutebrowser.py + cp qutebrowser/qutebrowser.py.tmp qutebrowser/qutebrowser.py + rm qutebrowser/qutebrowser.py.tmp - name: Run tox run: "tox -e ${{ matrix.toxenv }} -- --gh-token ${{ secrets.GITHUB_TOKEN }} ${{ matrix.args }}" - name: Gather info -- cgit v1.2.3-54-g00ecf