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 ignored in workflow (again) #27

Open
roncanepa-tufts opened this issue Feb 5, 2024 · 0 comments
Open

formats are ignored in workflow (again) #27

roncanepa-tufts opened this issue Feb 5, 2024 · 0 comments

Comments

@roncanepa-tufts
Copy link

Hello, I'm having the same issue as in #10 where the DestFormats ends up as ["svg"] regardless of what I pass in, but there was no resolution listed there.

Any suggestions, please?

Here's the output of my render step:

Run docker://ghcr.io/racklet/render-drawio-action:v1.0.3
  with:
    formats: png,svg
    sub-dirs: drawio
    skip-dirs: .git
    log-level: info
/usr/bin/docker run --name ghcriorackletrenderdrawioactionv103_6215e9 --label 31fb22 --workdir /github/workspace --rm -e "INPUT_FORMATS" -e "INPUT_SUB-DIRS" -e "INPUT_SKIP-DIRS" -e "INPUT_LOG-LEVEL" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/test-drawio-with-actions/test-drawio-with-actions":"/github/workspace" ghcr.io/racklet/render-drawio-action:v1.0.3
{"level":"info","msg":"Got config","cfg":{"RootDir":"/github/workspace","SubDirs":["."],"SkipDirs":[".git"],"Files":{},"SrcFormats":["drawio"],"ValidSrcFormats":["drawio","*"],"DestFormats":["svg"],"ValidDestFormats":["pdf","png","jpg","svg"]}}
{"level":"info","msg":"Created os.DirFS at /github/workspace"}
{"level":"info","msg":"Walking subDir ."}
{"level":"info","msg":"Rendering drawio/test/repositories.drawio -> drawio/test/repositories.svg"}
{"level":"info","msg":"Setting Github Action output","rendered-files":"\"drawio/test/repositories.svg\""}
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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

1 participant