Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,12 @@ jobs:
- name: Pack, and check the natives are in it
if: matrix.os == 'ubuntu-24.04'
run: scripts/check_package.sh

# Every C# block README.md publishes compiles against this package, and a doc
# change runs this (macula-codebase-checks#8). The pin is a full commit SHA;
# the release waits on this job too.
docs:
name: docs (C# snippets)
permissions:
contents: read
uses: macula-io/macula-ci-images/.github/workflows/doc-snippets-csharp.yml@d25a36c1b6ba7b8e72db17873aa7c2c7793eba70
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ jobs:
uses: macula-io/macula-ci-images/.github/workflows/release-guard.yml@2660ee4ce1c51ce3d2bf14043ebc8a2784065cd9
with:
version-root: src/Macula
# The docs check the repository runs on every push, run again on the tag: the
# package about to be published is the one the blocks are compiled against
# (macula-codebase-checks#8).
docs:
name: docs (C# snippets)
permissions:
contents: read
uses: macula-io/macula-ci-images/.github/workflows/doc-snippets-csharp.yml@d25a36c1b6ba7b8e72db17873aa7c2c7793eba70
publish:
needs: [release-guard]
needs: [release-guard, docs]
name: publish to NuGet
runs-on: ubuntu-24.04
environment: release
Expand Down
Loading