wirthual / deutschland-generator-action Goto Github PK
View Code? Open in Web Editor NEWGithub action for the generation process of generating docs and code for the deutschland package
License: Apache License 2.0
Github action for the generation process of generating docs and code for the deutschland package
License: Apache License 2.0
I am not sure if the allow empty commit is needed. I think it would be better or at least okay, that if there are no changes to the code that there is not a commit.
Maybe we can check for changes and if there are not any changes we can exit the action (maybe even with a success, so no failing).
See this line: https://github.com/wirthual/deutschland-generator-action/blob/main/action.yaml#L134
The action fails on rename generated code if the folder does not exist.
See Logs: https://github.com/lukaspanni/api-doc-template/runs/4657227598 at line 280 and following
I did some non-breaking basic changes to the Bundestag-API - repo.
During the PR the deutschland-generator-action runs: see here
Since there are no changes to the Python package the action returns an error during uploading to pypi:
25hWARNING Error during upload. Retry with the --verbose option for more details.
ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Only one sdist may be uploaded per release.
Error: Process completed with exit code 1.
Should we check before uploading if during the runtime a new release has been created?
Or should we change the action itself. At the moment the action runs on every push see api-doc-template
I think the commit and the publishing to pypi should only run if the PR is merged (a push on the main branch).
What do you think @wirthual ?
Use the package name and version inputs in create_doc.
I will create a PR to fix this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.