simutrans / simutrans-extended

Sources for the Experimental branch of the popular game Simutrans
http://forum.simutrans.com/index.php?board=53.0
Other
3 stars 0 forks source link

Nightly deployment: location of packaged paksets is hardcoded #14

Open mariculousNyan opened 2 years ago

mariculousNyan commented 2 years ago

pak128.britain-ex will be packaged in the nightly. This pakset is hardcoded as simutrans/simutrans-pak128.britain-ex:master To ensure that the pakset is up-to-date, the nightly pipeline will trigger the build action of simutrans/simutrans-pak128.britain-ex:master, wait for it to finish and pull the resulting artifacts.

Other repositories than simutrans/simutrans-extended might not be allowed to trigger that workflow. Also, they might prefer to pull the pakset from a different location (e.g. their own repository of pak128.britain-ex)

mariculousNyan commented 2 years ago

Other repositories cannot configure the location of pak128.britain-ex without changing the content in their repository, thus also the commit hash.

Using ${{ github.repository_owner}}/simutrans-pak128.britain-ex can fix this partially.

To allow for configuration, a dedicated nightly-deployment reposiory is required which might be a good idea anyways.