Open daisseur opened 1 year ago
Remove dist/DeltacodeProject.exe
. It can't be published.
Remove
dist/DeltacodeProject.exe
. It can't be published.
Okay thank you but how can I remove it from the github action whithout remove the exe from the repo
@daisseur firstly, committing binaries to Git repositories is a bad idea. Second, if that's an artifact, it should probably be built within a GHA workflow. Finally, even if you put it into the directory on disk, you can still delete it in GHA via rm -f dist/*.exe
or use a different directory for producing/supplying dists. You don't even need a repository checkout for the publishing job — build whatever you're publishing in one job (or many jobs, for that matter), store it as an artifact, get the artifact within the publishing job and make sure you don't add undesired files into that folder.
@webknjaz okay thank you
Action item:
We're trying to publish with .whl
files and we're seeing this issue publishing pyktx:
https://github.com/KhronosGroup/KTX-Software/actions/runs/7498674379/job/20414169920
There is also a .tar.gz
source distribution in the directory. I wonder how the wheels are supposed to be published?
We're trying to publish with
.whl
files and we're seeing this issue publishing pyktx:
This was due to curl command used to download the assets in our GitHub Action not enabling redirects resulting in zero-byte .whl files. Sorry for the false alarm.
I'm on a python project and i use github action to publish my pypi python package the python project is https://github.com/daisseur/Deltacode_project/ when the package is publishing i got this error: