Skip to content

Commit

Permalink
Use the latest version in the action
Browse files Browse the repository at this point in the history
Caveat: this may use the Pypi wheel if the version has not be updated. There is no simple workaround at this time (pip may get a --deps-only flag at some point).
  • Loading branch information
aMarcireau committed Nov 6, 2023
1 parent a38daa5 commit 1d7fbfc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ jobs:
with:
name: wheelhouse
path: wheelhouse
- run: ls wheelhouse # @DEV
- run: python -c 'import pathlib; import re; pattern = re.compile(r"(colourtime)-(\d\.\d\.\d|\d\.\d)-(.+)"); [path.rename(path.parent / f"{match[1]}-{match[2]}+local-{match[3]}") for (path, match) in ((path, pattern.match(path.name)) for path in pathlib.Path.cwd().iterdir()) if match is not None]'
working-directory: wheelhouse
- run: ls wheelhouse # @DEV
- run: python -m pip install --find-links wheelhouse colourtime+local
- run: python -m pip install --find-links wheelhouse colourtime
shell: bash
- run: python -c 'import colourtime'
build_sdist:
Expand Down

0 comments on commit 1d7fbfc

Please sign in to comment.