Skip to content

Commit 8724455

Browse files
committed
OSOE-1308 Default test workflows to Microsoft Testing Platform
1 parent 295191f commit 8724455

61 files changed

Lines changed: 518 additions & 227 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/auto-merge-pull-request/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323
id: check-mergeability
2424
# Fork PR runs won't have permissions to remove labels, nor do we want to allow auto-merging them.
2525
if: github.event.pull_request.head.repo.fork == false
26-
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev
26+
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@issue/OSOE-1308
2727
with:
2828
label1: merge-if-checks-succeed
2929
label2: merge-and-resolve-jira-issue-if-checks-succeed
@@ -37,7 +37,7 @@ runs:
3737
3838
- name: Remove Label
3939
if: steps.check-mergeability.outputs.contains-label == 'true'
40-
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev
40+
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@issue/OSOE-1308
4141
with:
4242
token: ${{ env.GITHUB_TOKEN }}
4343
labels: merge-if-checks-succeed

.github/actions/auto-transition-jira-issue/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ runs:
1515
1616
- name: Check if Should Done
1717
id: check-done
18-
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev
18+
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@issue/OSOE-1308
1919
with:
2020
label1: done-jira-issue-if-checks-succeed
2121
label2: dummy
2222

2323
- name: Check if Should Resolve
2424
id: check-resolve
2525
if: steps.check-done.outputs.contains-label == 'false'
26-
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev
26+
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@issue/OSOE-1308
2727
with:
2828
label1: resolve-jira-issue-if-checks-succeed
2929
label2: merge-and-resolve-jira-issue-if-checks-succeed
@@ -41,7 +41,7 @@ runs:
4141
Set-JiraIssueStatus @parameters
4242
4343
- name: Remove Label
44-
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev
44+
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@issue/OSOE-1308
4545
with:
4646
token: ${{ env.GITHUB_TOKEN }}
4747
labels: merge-and-resolve-jira-issue-if-checks-succeed, resolve-jira-issue-if-checks-succeed, done-jira-issue-if-checks-succeed

.github/actions/build-dotnet/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ runs:
256256
Write-Output ("Solution or project build took {0:0.###} seconds." -f ($endTime - $startTime).TotalSeconds)
257257
258258
- name: Upload MSBuild Binary Log
259-
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev
259+
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@issue/OSOE-1308
260260
if: (success() || failure()) && inputs.create-binary-log == 'true'
261261
with:
262262
name: build-binary-log-${{ steps.build.outputs.artifact-name-suffix }}.binlog

.github/actions/checkout/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
(Resolve-Path '${{ github.action_path }}/../../../Scripts').Path >> $Env:GITHUB_PATH
3737
3838
- name: Set Checkout Token
39-
uses: Lombiq/GitHub-Actions/.github/actions/set-checkout-token@dev
39+
uses: Lombiq/GitHub-Actions/.github/actions/set-checkout-token@issue/OSOE-1308
4040
with:
4141
checkout-token: ${{ inputs.token }}
4242

.github/actions/mark-breaking-changes/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
(Resolve-Path '${{ github.action_path }}/../../../Scripts').Path >> $Env:GITHUB_PATH
1919
2020
- name: Update Breaking Changes Label
21-
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev
21+
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@issue/OSOE-1308
2222
with:
2323
token: ${{ env.GITHUB_TOKEN }}
2424
label: breaking-changes

.github/actions/markdown-lint/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runs:
6464
Set-GitHubOutput 'artifact-path' $artifactFolder
6565
6666
- name: Upload files fixed by markdown-lint
67-
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev
67+
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@issue/OSOE-1308
6868
if: inputs.fix == 'true' && steps.markdown-lint-fix-files.outputs.has-fixes == 'true'
6969
with:
7070
name: markdown-lint-fixed-files

.github/actions/mirror-branches/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ runs:
7171
7272
- name: Get source branches
7373
id: get-source-branches
74-
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@dev
74+
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@issue/OSOE-1308
7575
with:
7676
repository: ${{ inputs.source-repository }}
7777
# When empty, source token falls back to destination token, which still works for a public source repository.
7878
api-token: ${{ inputs.source-token == '' && inputs.destination-token || inputs.source-token }}
7979

8080
- name: Get destination branches
8181
id: get-destination-branches
82-
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@dev
82+
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@issue/OSOE-1308
8383
with:
8484
repository: ${{ inputs.destination-repository }}
8585
api-token: ${{ inputs.destination-token }}
@@ -100,7 +100,7 @@ runs:
100100
101101
- name: Checkout source repository
102102
if: steps.find-branches.outputs.first-branch-name != ''
103-
uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev
103+
uses: Lombiq/GitHub-Actions/.github/actions/checkout@issue/OSOE-1308
104104
with:
105105
repository: ${{ inputs.source-repository }}
106106
ref: ${{ steps.find-branches.outputs.first-branch-name }}

.github/actions/msbuild/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ runs:
9696
Write-Output ("Solution or project build took {0:0.###} seconds." -f ($endTime - $startTime).TotalSeconds)
9797
9898
- name: Upload MSBuild Binary Log
99-
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev
99+
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@issue/OSOE-1308
100100
if: (success() || failure()) && inputs.create-binary-log == 'true'
101101
with:
102102
name: build-binary-log.binlog

.github/actions/precompile-orchard1-app/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ runs:
5353
steps:
5454
- name: Checkout
5555
if: inputs.repository != ''
56-
uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev
56+
uses: Lombiq/GitHub-Actions/.github/actions/checkout@issue/OSOE-1308
5757
with:
5858
repository: ${{ inputs.repository }}
5959
ref: ${{ inputs.checkout-ref }}
6060
token: ${{ inputs.token }}
6161
path: ${{ inputs.checkout-path }}
6262

6363
- name: Enable Node corepack
64-
uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev
64+
uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@issue/OSOE-1308
6565

6666
# Calling nuget restore separately on the actual solution, because we're passing Orchard.proj to the msbuild action
6767
# instead to be able to call the Precompiled target on it.
@@ -70,7 +70,7 @@ runs:
7070
run: nuget restore ${{ inputs.checkout-path }}/${{ inputs.solution-path }}
7171

7272
- name: Publish Precompiled app
73-
uses: Lombiq/GitHub-Actions/.github/actions/msbuild@dev
73+
uses: Lombiq/GitHub-Actions/.github/actions/msbuild@issue/OSOE-1308
7474
with:
7575
directory: ${{ inputs.checkout-path }}
7676
verbosity: ${{ inputs.verbosity }}

.github/actions/publish-nuget/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,15 @@ runs:
191191

192192
- name: Enable Node corepack
193193
if: inputs.enable-corepack == 'true'
194-
uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev
194+
uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@issue/OSOE-1308
195195

196196
- name: Generate nuspec file if needed
197197
if: hashFiles('ConvertTo-Nuspec.ps1')
198198
shell: pwsh
199199
run: ./ConvertTo-Nuspec.ps1 '${{ steps.setup.outputs.publish-version }}'
200200

201201
- name: Build
202-
uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@dev
202+
uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@issue/OSOE-1308
203203
# Notes on the configuration:
204204
# * -p:NuGetBuild=true is our property to load Lombiq dependencies from NuGet by switching project references
205205
# to package references.
@@ -306,38 +306,38 @@ runs:
306306
- name: Check for ignore-breaking-changes Label
307307
id: check-ignore-breaking
308308
if: ${{ (failure() || success()) && inputs.mark-breaking-changes == 'true' && github.event_name == 'pull_request' }}
309-
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev
309+
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@issue/OSOE-1308
310310
with:
311311
label1: ignore-breaking-changes
312312

313313
- name: Mark Breaking Changes on Pull Request
314314
if: ${{ (failure() || success()) &&
315315
inputs.mark-breaking-changes == 'true' &&
316316
github.event_name == 'pull_request' }}
317-
uses: Lombiq/GitHub-Actions/.github/actions/mark-breaking-changes@dev
317+
uses: Lombiq/GitHub-Actions/.github/actions/mark-breaking-changes@issue/OSOE-1308
318318
with:
319319
is-breaking: ${{ steps.check-ignore-breaking.outputs.contains-label == 'true' && 'false' || steps.pack.outputs.is-breaking == 'true' }}
320320
env:
321321
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
322322

323323
- name: Upload NuGet Package Artifact
324-
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev
324+
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@issue/OSOE-1308
325325
with:
326326
name: NuGet-Package
327327
path: artifacts
328328
retention-days: ${{ inputs.nuget-artifact-retention-days }}
329329

330330
- name: Upload CompatibilitySuppressions File Artifact
331331
if: success() || failure()
332-
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev
332+
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@issue/OSOE-1308
333333
with:
334334
name: CompatibilitySuppressions
335335
path: CompatibilitySuppressions
336336
retention-days: 1
337337
if-no-files-found: ignore
338338

339339
- name: Create Release
340-
uses: Lombiq/GitHub-Actions/.github/actions/release-action@dev
340+
uses: Lombiq/GitHub-Actions/.github/actions/release-action@issue/OSOE-1308
341341
# Also preventing creating releases when pushing tags for issue-specific pre-releases like v4.3.1-alpha.osoe-86.
342342
if: inputs.dry-run != 'true' && !contains(steps.setup.outputs.publish-version, '-')
343343
with:

0 commit comments

Comments
 (0)