summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2024-02-25 16:01:26 +1300
committertoofar <toofar@spalge.com>2024-02-25 16:07:17 +1300
commita64e460e54294698bd3f3d03de58a2ddd72b4736 (patch)
treefa6f0bbc2a21a83d8e9dbc9163b21de0234fa3d4
parentae6826cc3ecb940f8cdac627916815e4538c4b6c (diff)
downloadqutebrowser-wip/8110_nightly_build_please.tar.gz
qutebrowser-wip/8110_nightly_build_please.zip
try cp instead of move, for powershellwip/8110_nightly_build_please
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...
-rw-r--r--.github/workflows/nightly.yml3
1 files changed, 2 insertions, 1 deletions
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