{"id":19442184,"url":"https://github.com/commandcracker/craftos-pc-action","last_synced_at":"2025-02-25T07:44:33.132Z","repository":{"id":195262088,"uuid":"648803104","full_name":"Commandcracker/craftos-pc-action","owner":"Commandcracker","description":"GitHub Action for CraftOS-PC.","archived":false,"fork":false,"pushed_at":"2023-10-14T18:15:23.000Z","size":69,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T15:21:45.468Z","etag":null,"topics":["computercraft","computercraft-tweaked","lua"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Commandcracker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-02T21:17:46.000Z","updated_at":"2023-10-10T16:45:26.000Z","dependencies_parsed_at":"2024-11-10T15:51:12.144Z","dependency_job_id":null,"html_url":"https://github.com/Commandcracker/craftos-pc-action","commit_stats":null,"previous_names":["commandcracker/craftos-pc-action"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2Fcraftos-pc-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2Fcraftos-pc-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2Fcraftos-pc-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commandcracker%2Fcraftos-pc-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Commandcracker","download_url":"https://codeload.github.com/Commandcracker/craftos-pc-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240626742,"owners_count":19831592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computercraft","computercraft-tweaked","lua"],"created_at":"2024-11-10T15:38:30.888Z","updated_at":"2025-02-25T07:44:32.884Z","avatar_url":"https://github.com/Commandcracker.png","language":"Lua","readme":"# CraftOS-PC-Action\n\nGitHub Action for [CraftOS-PC].\n\n## CraftOS-PC Tweaks\n\nCraftOS-PC-Action runs some tweaks in order to improve the styling of the output.\nThe tweaks can be seen at [craftos-pc-tweaks].\n\n## Default CraftOS settings\n\nPlease note that CraftOS-PC-Action comes with default CraftOS [settings]. However, you have the option to override them by creating a `/.settings` file. **It is important to set the setting `bios.use_multishell` to `false` in order to ensure proper logging.** Additionally, setting `motd.enable` to `false` is recommended, although not necessary. Disabling the MOTD will reduce the number of messages displayed during startup.\n\nHere is an example of how to properly configure the settings file:\n\n```conf\n{\n    [\"motd.enable\"] = false,\n    [\"bios.use_multishell\"] = false\n}\n```\n\n[settings]: https://tweaked.cc/module/settings.html\n[CraftOS-PC]: https://github.com/MCJack123/craftos2\n[craftos-pc-tweaks]: https://github.com/Commandcracker/craftos-pc-tweaks\n\n## Example workflow\n\n```yml\nname: CraftOS-PC Action\non:\n    workflow_dispatch:\n    push:\n        #branches:\n            #- main\n\njobs:\n    publish:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout 🛎️\n              uses: actions/checkout@v4\n\n            - name: CraftOS-PC \u003e_\n              uses: Commandcracker/craftos-pc-action@v1\n              #with:\n                  # Example inputs ordered by usefulness\n                  #root: ./src\n                  #timeout: 1m\n                  #disable_root: true\n                  #directory: ./cc\n                  #luajit: true\n                  #options: --exec print('Hello, World!')\n                  #disable_tweaks: true\n                  #disable_default_settings: true\n                  #id: 42\n                  #timeout_signal: \"KILL\"\n                  #disable_timeout_verbose: true\n                  #timeout_arguments: \"--preserve-status\"\n                  #disable_single: true\n                  #disable_headless: true\n```\n\n## Inputs\n\n\u003c!-- AUTO-DOC-INPUT:START - Do not remove or modify this section --\u003e\n\n|                                                  INPUT                                                   |  TYPE  | REQUIRED | DEFAULT |                                                                                                                                                     DESCRIPTION                                                                                                                                                     |\n|----------------------------------------------------------------------------------------------------------|--------|----------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n|                       \u003ca name=\"input_directory\"\u003e\u003c/a\u003e[directory](#input_directory)                        | string |  false   |         |                                                                                      Sets the directory that stores \u003cbr\u003euser data. Use disable_root if \u003cbr\u003eyou want to use the \u003cbr\u003euser data computer directory as \u003cbr\u003eroot!                                                                                        |\n| \u003ca name=\"input_disable_default_settings\"\u003e\u003c/a\u003e[disable_default_settings](#input_disable_default_settings) | string |  false   |         |                                                                                  Setting this will dsiable all \u003cbr\u003edefault CraftOS-PC settings. This is \u003cbr\u003erequired if you want to \u003cbr\u003edelete .settings for some odd \u003cbr\u003ereason.                                                                                   |\n|             \u003ca name=\"input_disable_headless\"\u003e\u003c/a\u003e[disable_headless](#input_disable_headless)             | string |  false   |         |                                                                                      Setting this will disable the \u003cbr\u003eheadless render mode. It is \u003cbr\u003enot recommended to do this \u003cbr\u003eunless you know what you \u003cbr\u003eare doing.                                                                                       |\n|                   \u003ca name=\"input_disable_root\"\u003e\u003c/a\u003e[disable_root](#input_disable_root)                   | string |  false   |         |                                                                           This will disable mounting the \u003cbr\u003eroot directory making the root \u003cbr\u003einput useless. Use this if \u003cbr\u003eroot files should be mounted \u003cbr\u003eto user data directory.                                                                             |\n|                \u003ca name=\"input_disable_single\"\u003e\u003c/a\u003e[disable_single](#input_disable_single)                | string |  false   |         |                                                                                   Setting this will disable the \u003cbr\u003esingle window render mode. It \u003cbr\u003eis not recommended to do \u003cbr\u003ethis unless you know what \u003cbr\u003eyou are doing.                                                                                     |\n|  \u003ca name=\"input_disable_timeout_verbose\"\u003e\u003c/a\u003e[disable_timeout_verbose](#input_disable_timeout_verbose)   | string |  false   |         |                                                                                                                   This will disable verbose timeout, \u003cbr\u003enot printing if a timeout \u003cbr\u003eaccoured.                                                                                                                    |\n|                \u003ca name=\"input_disable_tweaks\"\u003e\u003c/a\u003e[disable_tweaks](#input_disable_tweaks)                | string |  false   |         |                                                                                                                                Setting this will dsiable all \u003cbr\u003eCraftOS-PC-Tweaks                                                                                                                                  |\n|                                  \u003ca name=\"input_id\"\u003e\u003c/a\u003e[id](#input_id)                                  | string |  false   |         |                                                                                                                                  Sets the ID of the \u003cbr\u003ecomputer that will launch                                                                                                                                   |\n|                            \u003ca name=\"input_luajit\"\u003e\u003c/a\u003e[luajit](#input_luajit)                            | string |  false   |         |                                                                                                  Setting this will use CraftOS-PC \u003cbr\u003eAccelerated (with LuaJIT) instead of default \u003cbr\u003eCraftOS-PC (with PUC Lua)                                                                                                    |\n|                          \u003ca name=\"input_options\"\u003e\u003c/a\u003e[options](#input_options)                           | string |  false   |         |                                                                                                                            These are the options that \u003cbr\u003ewill be passed to CraftOS-PC                                                                                                                              |\n|                               \u003ca name=\"input_root\"\u003e\u003c/a\u003e[root](#input_root)                               | string |  false   | `\"./\"`  |                                                                                                                          The root directory of the \u003cbr\u003ecraftos-pc containg a startup.lua                                                                                                                            |\n|                          \u003ca name=\"input_timeout\"\u003e\u003c/a\u003e[timeout](#input_timeout)                           | string |  false   | `\"60\"`  | Specifies the maximum amount of \u003cbr\u003etime that the action will \u003cbr\u003erun before timing out. \"timeout \u003cbr\u003eis a floating point number \u003cbr\u003ewith an optional suffix:\" 's' \u003cbr\u003efor seconds (the default), 'm' for \u003cbr\u003eminutes, 'h' for hours or \u003cbr\u003e'd' for days. A duration \u003cbr\u003eof 0 disables the associated \u003cbr\u003etimeout.  |\n|           \u003ca name=\"input_timeout_arguments\"\u003e\u003c/a\u003e[timeout_arguments](#input_timeout_arguments)            | string |  false   |         |                                                                                                                                        Defines additional timeout arguments.                                                                                                                                        |\n|                \u003ca name=\"input_timeout_signal\"\u003e\u003c/a\u003e[timeout_signal](#input_timeout_signal)                | string |  false   | `\"HUP\"` |                                                                                   specify the signal to be \u003cbr\u003esent on timeout; SIGNAL may \u003cbr\u003ebe a name like 'HUP' \u003cbr\u003eor a number; see 'kill \u003cbr\u003e-l' for a list of \u003cbr\u003esignals                                                                                    |\n\n\u003c!-- AUTO-DOC-INPUT:END --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommandcracker%2Fcraftos-pc-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommandcracker%2Fcraftos-pc-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommandcracker%2Fcraftos-pc-action/lists"}