This GitHub Action builds an Owlcat Mod project and outputs relevant build information.
This action assumes that a zip directory conatining the build files will be created during the build process, e.g. via
<ZipDirectory SourceDirectory="$(MSBuildProjectDirectory)\$(OutputPath)" DestinationFile="$(MSBuildProjectDirectory)\$(OutputPath)\..\$(AssemblyName)-$(Version).zip" Overwrite="true" />
Required The name of the game which the mod targets. Options are:
- Kingmaker
- Wrath (default)
- RogueTrader
Required The GitHub token for accessing the package registry.
Optional The account used to connect to the package registry. Default: ${{ github.repository_owner }}
Optional The account which owns the package. Default: xADDBx
Optional Ref (e.g., branch, tag, SHA) which is checked out. Default: null
Optional Comma-separated list of direct download links to dependencies. Default: ''
Optional Comma-separated list of directory names in which the downloaded files will be put. Default: ''
Because I couldn't get normal outputs to work the output is in the env object.
The name of the zip file generated by the build.
The path to the directory containing the zip file.
The number of the game version.
The suffix of the game version.
The output directory for the build.
uses: xADDBx/BuildOwlcatMod@v1
with:
GAME_NAME: Wrath
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_NAME: ${{ github.repository_owner }}