9393jobs :
9494 validate_version :
9595 name : Validate Version
96- uses : KinsonDigital/Infrastructure/.github/workflows/validate-csharp-version.yml@v14.0 .0
96+ uses : KinsonDigital/Infrastructure/.github/workflows/validate-csharp-version.yml@v14.1 .0
9797 with :
9898 project-name : " ${{ inputs.project-name }}"
9999 release-type : " ${{ inputs.release-type }}"
@@ -106,6 +106,9 @@ jobs:
106106 needs : [validate_version]
107107 runs-on : ubuntu-latest
108108 steps :
109+ - name : Checkout Repository
110+ uses : actions/checkout@v4
111+
109112 - name : Set Up Deno
110113 uses : denoland/setup-deno@v2
111114 with :
@@ -139,7 +142,7 @@ jobs:
139142 continue-on-error : true
140143 env :
141144 RELEASE_TYPE : " ${{ inputs.release-type }}"
142- TAG_NAME : " ${{ needs.validate_version.outputs.version }}"
145+ TAG_NAME : " v ${{ needs.validate_version.outputs.version }}"
143146 GITHUB_TOKEN : " ${{ secrets.cicd-pat }}"
144147 run : |
145148 $scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/validate-tag.ts";
@@ -163,17 +166,12 @@ jobs:
163166 id : release-notes-check
164167 continue-on-error : true
165168 env :
166- TAG_NAME : " ${{ needs.validate_version.outputs.version }}"
169+ TAG_NAME : " v ${{ needs.validate_version.outputs.version }}"
167170 RELEASE_TYPE : " ${{ inputs.release-type }}"
168171 run : |
169- $baseDirPath = "${{ github.workspace }}";
170- $scriptDirPath = ".github/cicd-scripts";
171- $scriptFileName = "release-notes-exist.ts";
172- $scriptFilePath = "$baseDirPath/$scriptDirPath/$scriptFileName";
172+ $scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/release-notes-exist.ts";
173173
174- Write-Host "::notice::Release Notes Exist Script File Path: $scriptFilePath";
175-
176- deno run -ER $scriptFilePath;
174+ deno run -ER "$scriptUrl";
177175
178176 - name : Package Does Not Exist
179177 id : package-check
@@ -190,29 +188,29 @@ jobs:
190188 id : milestone-exists-check
191189 continue-on-error : true
192190 env :
193- MILESTONE_TITLE : " ${{ needs.validate_version.outputs.version }}"
191+ MILESTONE_TITLE : " v ${{ needs.validate_version.outputs.version }}"
194192 GITHUB_TOKEN : ${{ secrets.cicd-pat }}
195193 run : |
196- $scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/nuget-pkg-does-not-exist .ts";
194+ $scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/milestone-exists .ts";
197195
198196 deno run -ERNS "$scriptUrl";
199197
200198 - name : Validate Milestone
201199 id : milestone-check
202200 env :
203- MILESTONE_TITLE : " ${{ needs.validate_version.outputs.version }}"
201+ MILESTONE_TITLE : " v ${{ needs.validate_version.outputs.version }}"
204202 GITHUB_TOKEN : " ${{ secrets.cicd-pat }}"
205203 continue-on-error : true
206204 run : |
207205 $scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/milestone-items-all-closed.ts";
208206
209- deno run -EN "$scriptUrl";
207+ deno run -ERN "$scriptUrl";
210208
211209 - name : GitHub Release Does Not Exist
212210 id : github-release-check
213211 continue-on-error : true
214212 env :
215- TAG_NAME : " ${{ needs.validate_version.outputs.version }}"
213+ TAG_NAME : " v ${{ needs.validate_version.outputs.version }}"
216214 GITHUB_TOKEN : " ${{ secrets.cicd-pat }}"
217215 run : |
218216 $scriptUrl = "${{ steps.build-script-base-url.outputs.url }}/github-release-does-not-exist.ts";
@@ -279,7 +277,7 @@ jobs:
279277 build_project :
280278 name : Build Main Project
281279 needs : [run_prerelease_validation]
282- uses : KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v14.0 .0
280+ uses : KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v14.1 .0
283281 with :
284282 project-name : " ${{ inputs.project-name }}"
285283 runs-on : " ${{ inputs.runs-on }}"
@@ -292,7 +290,7 @@ jobs:
292290 run_tests :
293291 name : Run Tests
294292 needs : [run_prerelease_validation]
295- uses : KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v14.0 .0
293+ uses : KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v14.1 .0
296294 with :
297295 project-name : " ${{ inputs.project-name }}Tests"
298296 runs-on : " ${{ inputs.runs-on }}"
@@ -362,12 +360,6 @@ jobs:
362360 --api-key ${{ secrets.nuget-org-api-key }} `
363361 --source https://api.nuget.org/v3/index.json;
364362
365- # Push the symbol package
366- dotnet nuget push `
367- "${{ github.workspace }}/${{ vars.ORGANIZATION_NAME }}.${{ inputs.project-name }}.$version.snupkg" `
368- --api-key ${{ secrets.nuget-org-api-key }} `
369- --source https://api.nuget.org/v3/index.json;
370-
371363 - name : Get GitHub Workspace
372364 id : base-dir-path
373365 run : |
0 commit comments