{"id":29636764,"url":"https://github.com/neoforged/actions-modding","last_synced_at":"2026-05-19T10:35:41.139Z","repository":{"id":305317264,"uuid":"1022285222","full_name":"neoforged/actions-modding","owner":"neoforged","description":"A collection of Github Actions for users of NeoForge tooling.","archived":false,"fork":false,"pushed_at":"2025-07-19T10:33:20.000Z","size":1151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-19T15:38:06.538Z","etag":null,"topics":["actions","minecraft","modding"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/neoforged.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,"zenodo":null},"funding":{"github":"neoforged","open_collective":"neoforged"}},"created_at":"2025-07-18T19:20:55.000Z","updated_at":"2025-07-19T12:06:47.000Z","dependencies_parsed_at":"2025-07-19T15:52:49.259Z","dependency_job_id":null,"html_url":"https://github.com/neoforged/actions-modding","commit_stats":null,"previous_names":["neoforged/actions-modding"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/neoforged/actions-modding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoforged%2Factions-modding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoforged%2Factions-modding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoforged%2Factions-modding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoforged%2Factions-modding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neoforged","download_url":"https://codeload.github.com/neoforged/actions-modding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoforged%2Factions-modding/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266130947,"owners_count":23881176,"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":["actions","minecraft","modding"],"created_at":"2025-07-21T17:34:21.596Z","updated_at":"2026-05-19T10:35:41.098Z","avatar_url":"https://github.com/neoforged.png","language":"JavaScript","funding_links":["https://github.com/sponsors/neoforged","https://opencollective.com/neoforged"],"categories":[],"sub_categories":[],"readme":"# Github Actions for Modding\n\n## Minecraft Asset Caching\n\nThese two actions work together to improve the GitHub Actions cache usage for assets.\n\nFor improved caching, only a single cache in GitHub is used to cache the assets for all Minecraft versions you\nregularly run workflows for. Due to how caches for branches are isolated from each other in GitHub, the\ncache needs to be created on your main branch, which is done using a dedicated workflow.\n\nThis workflow runs every night to update the cache (if necessary), and can also be triggered manually for testing.\nIt uses the `neoforged/actions-modding/minecraft-assets-cache/create` action.\n\nIn every other workflow on any branch, the assets cache is only ever downloaded. This is done using the\n`neoforged/actions-modding/minecraft-assets-cache/use` action, which also sets the environment property for\nNFRT to pick up the downloaded asset cache. NFRT will still download missing assets if there is no cache,\nor it's for the wrong Minecraft version.\n\nExample Workflow to update the cache:\n\n```yaml\n---\n\nname: Minecraft Assets Cache\n\non:\n  schedule:\n    - cron: \"34 3 * * *\" # Update daily\n  workflow_dispatch:\n\njobs:\n  update-cache:\n    runs-on: ubuntu-latest\n    name: Update Assets Cache\n    steps:\n      - uses: neoforged/actions-modding/minecraft-assets-cache/create@v1\n        with:\n          minecraft-versions: |\n            1.21.1\n          minecraft-version-file: gradle.properties\n          minecraft-version-regexp: /^\\s*minecraft_version\\s*=\\s*(.+)\\s*$/m\n```\n\nExample use of the action to pull the assets cache:\n\n```yaml\n    steps:\n      - name: Setup Minecraft Assets Cache\n        uses: neoforged/actions-modding/minecraft-assets-cache/use@v1\n    [...]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoforged%2Factions-modding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneoforged%2Factions-modding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoforged%2Factions-modding/lists"}