Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formats are being ignored in the workflow and only SVG is being generated #18

Open
jpeiffer opened this issue Feb 28, 2022 · 1 comment

Comments

@jpeiffer
Copy link

Example:

      - name: Generate diagrams
        uses: docker://ghcr.io/racklet/render-drawio-action:v1.1.0
        id: render
        with:
          formats: "png,jpg"
          skip-dirs: ".git"
          sub-dirs: "."

Generated console:
image

Despite the formats being set as "png,jpg", the console seems to be implying that only svg was passed in, and that's what it's generating.

@zhai-lw
Copy link

zhai-lw commented Jun 10, 2022

try with this:

- name: Render .drawio files
      uses: docker://ghcr.io/racklet/render-drawio-action:v1
      with: # Showcasing the default values here
        args: '"--sub-dirs=." "--skip-dirs=.git" "--files==" "--formats=png,pdf,jpg,svg" "--log-level=debug"'
      id: render

Example:

      - name: Generate diagrams
        uses: docker://ghcr.io/racklet/render-drawio-action:v1.1.0
        id: render
        with:
          formats: "png,jpg"
          skip-dirs: ".git"
          sub-dirs: "."

Generated console: image

Despite the formats being set as "png,jpg", the console seems to be implying that only svg was passed in, and that's what it's generating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants