{"id":15014709,"url":"https://github.com/love-actions/love-actions-windows","last_synced_at":"2025-04-12T08:25:09.974Z","repository":{"id":45710332,"uuid":"512601884","full_name":"love-actions/love-actions-windows","owner":"love-actions","description":"Build Windows .exe package and zipped with other assets","archived":false,"fork":false,"pushed_at":"2024-11-07T18:29:47.000Z","size":56,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-22T12:33:36.368Z","etag":null,"topics":["love2d","windows"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/love-actions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-07-11T03:19:47.000Z","updated_at":"2025-01-01T21:57:31.000Z","dependencies_parsed_at":"2024-07-18T12:26:06.206Z","dependency_job_id":null,"html_url":"https://github.com/love-actions/love-actions-windows","commit_stats":{"total_commits":53,"total_committers":4,"mean_commits":13.25,"dds":"0.41509433962264153","last_synced_commit":"b0bf9f4d4d9b9f042b4d091a195742039cd5a963"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love-actions%2Flove-actions-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love-actions%2Flove-actions-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love-actions%2Flove-actions-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/love-actions%2Flove-actions-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/love-actions","download_url":"https://codeload.github.com/love-actions/love-actions-windows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248538489,"owners_count":21120998,"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":["love2d","windows"],"created_at":"2024-09-24T19:45:59.549Z","updated_at":"2025-04-12T08:25:09.952Z","avatar_url":"https://github.com/love-actions.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# love-actions-windows\n\n## Which version to use?\n\n- For the `11.5` version of the [LÖVE](https://love2d.org/) framework, use the `v2` tag or `v2.x.x` tags.\n- For the `11.4` version of the [LÖVE](https://love2d.org/) framework, use the `v1` tag or `v1.x.x` tags.\n\n### Branches\n\nThis branch is for the latest release version of the [LÖVE](https://love2d.org/) framework.\n\nFor the `11.4` version, please refer to the [**11.4**](https://github.com/love-actions/love-actions-windows/tree/11.4) branch.\n\n## About\n\nGithub Action for building \u0026 deploying Windows `.zip` packages and `.exe` installer of a [LÖVE](https://love2d.org/) framework based game.\n\n### Related actions\n\nSee related actions below:\n\n[Love actions bare package](https://github.com/marketplace/actions/love-actions-bare-package)\n\n[Love actions for testing](https://github.com/marketplace/actions/love-actions-for-testing)\n\n## Quick example\n\n```yaml\n- name: Build Windows packages\n  id: build-packages\n  uses: love-action/love-actions-windows@v1\n  with:\n    love-package: ./game.love\n    icon-path: ./assets/windows/icon.ico\n    rc-path: ./assets/windows/template.rc\n    product-name: love_app\n    app-id: ${{ secrets.APP_ID }}\n    product-website: https://www.example.com\n    installer-languages: English.isl ChineseSimplified.isl\n    output-folder: \"./dist\"\n```\n\n## With [Love actions bare package](https://github.com/marketplace/actions/love-actions-bare-package) and [Love actions for testing](https://github.com/marketplace/actions/love-actions-for-testing)\n\n```yml\nenv:\n  BUILD_TYPE: ${{ fromJSON('[\"dev\", \"release\"]')[startsWith(github.ref, 'refs/tags/v')] }}\n  CORE_LOVE_PACKAGE_PATH: ./core.love\n  CORE_LOVE_ARTIFACT_NAME: core_love_package\n  PRODUCT_NAME: my_love_app\n  BUNDLE_ID: com.example.myloveapp\n\njobs:\n  build-core:\n    runs-on: ubuntu-latest\n    env:\n      OUTPUT_FOLDER: ./build\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Build core love package\n        uses: love-actions/love-actions-core@v1\n        with:\n          build-list: ./media/ ./parts/ ./Zframework/ ./conf.lua ./main.lua ./version.lua\n          package-path: ${{ env.CORE_LOVE_PACKAGE_PATH }}\n      - name: Upload core love package\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}\n          path: ${{ env.CORE_LOVE_PACKAGE_PATH }}\n  auto-test:\n    runs-on: ubuntu-latest\n    needs: build-core\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Love actions for testing\n        uses: love-actions/love-actions-test@v1\n        with:\n          font-path: ./parts/fonts/proportional.otf\n          language-folder: ./parts/language\n  build-windows:\n    runs-on: windows-latest\n    needs: [build-core, auto-test]\n    env:\n      OUTPUT_FOLDER: ./build\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      # Download your core love package here\n      - name: Download core love package\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}\n      # This is an example dynamic library\n      - name: Download ColdClear\n        uses: ./.github/actions/get-cc\n        with:\n          platform: Windows\n          dir: ./ColdClear\n      - name: Build Windows packages\n        id: build-packages\n        uses: love-actions/love-actions-windows@v1\n        with:\n          love-package: ${{ env.CORE_LOVE_PACKAGE_PATH }}\n          icon-path: ./.github/build/windows/${{ env.BUILD_TYPE }}/icon.ico\n          rc-path: ./.github/build/windows/${{ env.BUILD_TYPE }}/template.rc\n          extra-assets-x86: ./ColdClear/x86/CCloader.dll ./ColdClear/x86/cold_clear.dll\n          extra-assets-x64: ./ColdClear/x64/CCloader.dll ./ColdClear/x64/cold_clear.dll\n          product-name: ${{ env.PRODUCT_NAME }}\n          app-id: ${{ secrets.APP_ID }}\n          project-website: https://www.example.com/\n          installer-languages: English.isl ChineseSimplified.isl Japanese.isl French.isl\n          output-folder: ${{ env.OUTPUT_FOLDER }}\n      - name: Upload 32-bit artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ needs.get-info.outputs.base-name }}_Windows_x86\n          path: ${{ env.OUTPUT_FOLDER }}/${{ env.PRODUCT_NAME }}_x86.zip\n      - name: Upload 64-bit artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ needs.get-info.outputs.base-name }}_Windows_x64\n          path: ${{ env.OUTPUT_FOLDER }}/${{ env.PRODUCT_NAME }}_x64.zip\n      - name: Upload installer artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ needs.get-info.outputs.base-name }}_Windows_installer\n          path: ${{ env.OUTPUT_FOLDER }}/${{ env.PRODUCT_NAME }}_installer.exe\n```\n\n## All inputs\n\n| Name                  | Required | Default                  | Description                                                                                                                     |\n| --------------------- | -------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |\n| `love-ref`            | `false`  | `\"11.5\"`                 | `love` release ref. Could only be release tags like `11.5`                                                                      |\n| `love-package`        | `false`  | `\"./game.love\"`          | Love package. Used to assemble the executable.                                                                                  |\n| `icon-path`           | `false`  | `\"\"`                     | Path to the exe's icon. If not specified, the product has no icon.                                                              |\n| `rc-path`             | `false`  | `\"\"`                     | Path to the `.rc` file. Used to configure the properties of the product.                                                        |\n| `extra-assets-x86`    | `false`  | `\"\"`                     | List of folder \u0026 file paths to be added to x86 product folder.                                                                  |\n| `extra-assets-x64`    | `false`  | `\"\"`                     | List of folder \u0026 file paths to be added to x64 product folder.                                                                  |\n| `product-name`        | `false`  | `\"love_app\"`             | Base name of the package.                                                                                                       |\n| `app-id`              | `false`  | `\"\"`                     | The application identifier (uuid) for the installer. You need to download inno setup and use the built-in tool to generate one. |\n| `project-website`     | `false`  | `\"\"`                     | The project's homepage url.                                                                                                     |\n| `installer-languages` | `false`  | `English.isl`            | List of languages supported by the installer. You can find references [here](https://jrsoftware.org/files/istrans/)             |\n| `output-folder`       | `false`  | `\"./build\"`              | Packages output folder. All packages would be placed here.                                                                      |\n| `love-actions-folder` | `false`  | `\"love-actions-windows\"` | Path to the `love-actions-windows` folder. Would be used to run all the action steps                                            |\n\n## All outputs\n\n| Name            | Example                                                                            | Description                                                                                      |\n| --------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |\n| `package-paths` | `./build/love_app_x86.zip ./build/love_app_x64.zip ./build/love_app_installer.exe` | Built packages' paths in a bash-style list relative to the repository root, separated by spaces. |\n\n## Other platforms\n\nIf you need to build game for other platforms, please check links below:\n\n[Love actions for android](https://github.com/marketplace/actions/love-actions-for-android)\n\n[Love actions for iOS](https://github.com/marketplace/actions/love-actions-for-ios)\n\n[Love actions for Linux](https://github.com/marketplace/actions/love-actions-for-linux)\n\n[Love actions for macOS portable](https://github.com/marketplace/actions/love-actions-for-macos-portable)\n\n[Love actions for macOS AppStore](https://github.com/marketplace/actions/love-actions-for-macos-appstore)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flove-actions%2Flove-actions-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flove-actions%2Flove-actions-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flove-actions%2Flove-actions-windows/lists"}