2.4 KiB
GitHub Actions
This repository includes .github.example/workflows/build.yml as an example CI workflow. To use it for your project, follow the setup instructions below.
Build Repository
This repository will be used to build and store the CI build container.
Caution
This repository should be private to avoid exposing the game's assets.
-
Create a private repository from
encounter/dtk-template-build. A common name is your project's repository name with-buildappended. For example,tww-build. -
Once the repository is created, add your game's assets to the
orig/GAMEIDdirectory. (ReplaceGAMEIDwith your game's ID, matching theoriglayout in your main repository.)
Only include game files necessary for the build, such assys/main.doland any.relor.selfiles. -
Once the build container action completes, visit the package settings:


-
Under "Manage Actions access", add your project's main repository with the "Read" role:

Progress
-
In the GC/Wii Decompilation Discord, visit
#frogressand request an API key for your project.
Please provide the following:- Project name
- Repository URL
- Game ID(s)
- Whether the game has RELs
-
On GitHub, visit your repo's
/settings/secrets/actions/newand add a new secret with the namePROGRESS_API_KEY:

Workflow
-
Rename
.github.exampleto.github. -
In
build.yml, update thecontainer:to point to the new build image. -
In
build.yml, replaceGAMEIDwith your game's ID. (Or list of IDs, for multi-version support.) -
In
build.yml, updatePROGRESS_SLUGto match the project name on frogress. -
Commit and push the changes to your repository.
If everything is set up correctly, the workflow will build all versions on every push or pull request, and upload progress on pushes the main branch.