Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧Fix resolve csharp issue #182

Merged
merged 3 commits into from
Oct 28, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/add-new-item-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
add_new_item_to_project:
name: Add New Issue
needs: item_number
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
org-name: "${{ vars.ORGANIZATION_NAME }}"
org-project-name: "${{ vars.ORG_PROJECT_NAME }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-csharp-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
resolve_proj_file_path:
name: Resolving ${{ inputs.project-name }} Project File Path
needs: print_validate_workflow
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: ${{ inputs.project-name }}
base-path: ${{ inputs.base-path }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/dotnet-action-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
validate_version:
name: Validate Version
needs: [print_validate_workflow, validate_branch]
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
release-type: "${{ inputs.release-type }}"
Expand All @@ -168,7 +168,7 @@ jobs:
validate_tag:
name: Validate Tag
needs: validate_version
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
release-type: "${{ inputs.release-type }}"
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
validate_github_release:
name: GitHub Release Does Not Exist
needs: validate_version
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
version: "${{ needs.validate_version.outputs.version }}"
Expand All @@ -218,7 +218,7 @@ jobs:
build_project:
name: Build Main Project (${{ inputs.project-name }})
needs: print_validate_workflow
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
runs-on: "${{ inputs.runs-on }}"
Expand All @@ -231,7 +231,7 @@ jobs:
run_tests:
name: Run Tests
needs: print_validate_workflow
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}Tests"
runs-on: "${{ inputs.runs-on }}"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dotnet-lib-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:

validate_version:
name: Validate Version
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
release-type: "${{ inputs.release-type }}"
Expand All @@ -193,7 +193,7 @@ jobs:
validate_tag:
name: Validate Tag
needs: validate_version
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
release-type: "${{ inputs.release-type }}"
Expand All @@ -205,7 +205,7 @@ jobs:
nuget_pkg_does_not_exist:
name: Validate NuGet Package Does Not Exist
needs: validate_version
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
version: "${{ needs.validate_version.outputs.version }}"
Expand All @@ -214,7 +214,7 @@ jobs:
validate_milestone_status:
name: Validate Milestone Status
needs: validate_version
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
version: "${{ needs.validate_version.outputs.version }}"
Expand All @@ -225,7 +225,7 @@ jobs:
validate_github_release:
name: GitHub Release Does Not Exist
needs: [validate_version]
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
version: "${{ needs.validate_version.outputs.version }}"
Expand All @@ -236,7 +236,7 @@ jobs:
build_project:
name: Build Main Project
needs: print_validate_workflow
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}"
runs-on: "${{ inputs.runs-on }}"
Expand All @@ -249,7 +249,7 @@ jobs:
run_tests:
name: Run Tests
needs: print_validate_workflow
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: "${{ inputs.project-name }}Tests"
runs-on: "${{ inputs.runs-on }}"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/resolve-csharp-proj-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
id: resolve-file-path
run: |
$scriptUrl = "${{ steps.script-url.outputs.url }}/resolve-csproj.ts";
$basePath = "${{ inputs.base-path }}" -eq "" ? "${{ github.workspace }}" : "${{ inputs.base-path }}";

<# Deno Args:
1. The name of the project
Expand All @@ -71,5 +72,5 @@ jobs:
--allow-env `
"$scriptUrl" `
"${{ vars.PROJECT_NAME }}" `
"${{ inputs.base-path }}" `
"$basePath" `
"${{ secrets.cicd-pat }}";
2 changes: 1 addition & 1 deletion .github/workflows/run-csharp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
resolve_proj_file_path:
name: Resolving ${{ inputs.project-name }} Project File Path
needs: print_validate_workflow
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
project-name: ${{ inputs.project-name }}
base-path: ${{ inputs.base-path }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-pr-to-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: |
github.event_name == 'pull_request_target' &&
!startsWith(github.head_ref, 'renovate/')
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
issue-or-pr-number: ${{ github.event.pull_request.number }}
sync-type: initial
Expand All @@ -35,7 +35,7 @@ jobs:
github.event_name == 'issue_comment' &&
github.event.issue.pull_request && github.event.issue.pull_request.url != null &&
contains(github.event.comment.body, '[run-sync]')
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].0
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected].1
with:
issue-or-pr-number: ${{ github.event.issue.number }}
sync-type: manual
Expand Down
Loading