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
18 changes: 9 additions & 9 deletions .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
- main
paths:
- 'csharp/**'
- 'scripts/**'
- 'csharp/scripts/**'
- '.github/workflows/csharp.yml'
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'csharp/**'
- 'scripts/**'
- 'csharp/scripts/**'
- '.github/workflows/csharp.yml'
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
GITHUB_EVENT_NAME: ${{ github.event_name }}
GITHUB_BASE_SHA: ${{ github.event.pull_request.base.sha }}
GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: node scripts/detect-code-changes.mjs
run: node csharp/scripts/detect-code-changes.mjs

# === CHANGESET CHECK - only runs on PRs with code changes ===
changeset-check:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:

- name: Run release script tests
working-directory: .
run: node --test scripts/*.test.mjs
run: node --test csharp/scripts/*.test.mjs

- name: Restore dependencies
run: dotnet restore
Expand Down Expand Up @@ -265,15 +265,15 @@ jobs:
working-directory: .
run: |
echo "Multiple changesets detected, merging..."
node scripts/merge-changesets.mjs \
node csharp/scripts/merge-changesets.mjs \
--dir csharp/.changeset \
--package-name Foundation.Data.Doublets.Cli

- name: Version and commit
if: steps.check_changesets.outputs.has_changesets == 'true'
id: version
working-directory: .
run: node scripts/version-and-commit-csharp.mjs --mode changeset
run: node csharp/scripts/version-and-commit.mjs --mode changeset

- name: Build release package
if: steps.version.outputs.version_committed == 'true'
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: .
run: |
node scripts/create-github-release.mjs \
node csharp/scripts/create-github-release.mjs \
--release-version "${{ steps.version.outputs.new_version }}" \
--repository "${{ github.repository }}" \
--tag-prefix "csharp-v" \
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
id: version
working-directory: .
run: |
node scripts/version-and-commit-csharp.mjs \
node csharp/scripts/version-and-commit.mjs \
--mode instant \
--bump-type "${{ github.event.inputs.bump_type }}" \
--description "${{ github.event.inputs.description }}"
Expand Down Expand Up @@ -391,7 +391,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: .
run: |
node scripts/create-github-release.mjs \
node csharp/scripts/create-github-release.mjs \
--release-version "${{ steps.version.outputs.new_version }}" \
--repository "${{ github.repository }}" \
--tag-prefix "csharp-v" \
Expand Down
Loading
Loading