Coder Social home page Coder Social logo

lukaspanni / deutschland-generator-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wirthual/deutschland-generator-action

0.0 0.0 0.0 29 KB

Github action for the generation process of generating docs and code for the deutschland package

License: Apache License 2.0

Python 44.34% Mustache 55.66%

deutschland-generator-action's Introduction

deutschland-generator-action

Github action for the generation process of generating docs and code for the deutschland package

Inputs

Input Required Default Description Example
openapi-file true openapi.yaml The path to the OpenAPI document to generate a client library for ./api/openapi.json
commit-to-git false false Should the generated code be added to git true
upload-to-pypi false false Should package be uploaded to pypi false
upload-to-testpypi false false Should package be uploaded to testpypi false
pypi-token false 'undefinded' Token to upload package to pypi ${{ secrets.PYPI_API_TOKEN }}
testpypi-token false 'undefined' Token to upload package to testpypi ${{ secrets.TEST_PYPI_API_TOKEN }}
python-version true 3.7 Python version to run on 3.8

If you watn to use your custom templates, put them into a folder called deutschland_templates inside the root of your repostitory. If it is existing, the action will use the provided templates, if not it will copy over the default templates from the deutschland-generator-action repo.

Example

on: [push, pull_request]
jobs:
  deutschland_generation:
    name: "Deutschland Generation"
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        python-version: ['3.7.8' ]
    steps:
      - name: "Generate deutschland code"
        uses: wirthual/[email protected]
        with:
          openapi-file: ${{ github.workspace }}/openapi.yaml
          commit-to-git: true
          upload-to-pypi: false
          upload-to-testpypi: true
          pypi-token: ${{ secrets.PYPI_API_TOKEN }}
          testpypi-token: ${{ secrets.TEST_PYPI_API_TOKEN }}
          python-version: ${{ matrix.python-version }}

deutschland-generator-action's People

Contributors

wirthual avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.