diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d16e8194..7e59b740 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -40,7 +40,7 @@ jobs: run: | # Maturin uses Cargo.toml name for Python name: https://www.maturin.rs/#usage. # We edit it here instead of just updating our repo code as Cargo workspace names must be different. - newName=minify-html-${{ matrix.variant }} + newName=minify-html${{ matrix.variant }} newName=${newName//-/_} sed -i.bak 's%^name = ".*$%name = "'$newName'"%' ./minify-html${{ matrix.variant }}-python/Cargo.toml rm ./minify-html${{ matrix.variant }}-python/Cargo.toml.bak