git subrepo pull (merge) packages/shared-fvtt-bits #1973
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/CD | |
on: | |
push | |
env: | |
MANIFEST_FILE_NAME: "system.json" | |
PUBLIC_PATH: "public" | |
PACKAGE_FILE_NAME: "investigator.zip" | |
PACKAGE_PATH: package | |
DOWNLOAD_BASE: "https://github.com/${{github.repository}}/releases/download" | |
jobs: | |
ci-cd: | |
# annoyingly, reusable workflows have to be in .github/workflows, either of | |
# the local repo or a shared repo. There's literally no way of referencing | |
# a reusable workflow in another folder, maing it impossible to use shared | |
# workflows in subfolders (i.e. subrepos like we have.) Symlinks do not | |
# work (GH does not follow them) so we are left referencing the | |
# shared-fvtt-bits repo like this. See this discussion: | |
# https://github.com/orgs/community/discussions/9050 | |
# Reusable workflows docs: | |
# https://docs.github.com/en/actions/using-workflows/reusing-workflows | |
uses: lumphammer/gh-actions/.github/workflows/ci-cd-reusable.yml@main | |
permissions: | |
contents: write | |
with: | |
manifest_file_name: "system.json" | |
public_path: "public" | |
package_file_name: "investigator.zip" | |
pnpm_version: "9" | |
package_path: "build_package" | |