Fix temp folder handling on windows

Something with the globing seems not work but not sure exactly. Now using a simple way of ensure that the target folder never exists when calling `mv` so that it behaves as a rename instead of a move into. The folder still needs to be created first so that parent folders (in case of a custom cache path) are created.
This commit is contained in:
Peter Leibiger
2022-02-04 15:12:44 +01:00
parent 05b7251cb1
commit b3c14e7ecc
2 changed files with 17 additions and 6 deletions

View File

@@ -1,5 +1,12 @@
name: Main workflow
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test_channel:
runs-on: ${{ matrix.operating-system }}