File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 if : github.event_name != 'PullRequest'
1414 run : Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhmmss"))"
1515 shell : pwsh
16- - uses : actions/setup-dotnet@v4
16+ - uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
1717 with :
1818 global-json-file : ./global.json
1919 - name : Bootstrap
3434 Invoke-CIBuild
3535 shell : pwsh
3636 - name : Upload build artifact
37- uses : actions/upload-artifact@v4
37+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3838 with :
3939 name : build
4040 path : ${{ runner.workspace }}/build
Original file line number Diff line number Diff line change 2121 steps :
2222 - name : Get changed files
2323 id : get-files
24- uses : actions/github-script@v7
24+ uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
2525 with :
2626 script : |
2727 const eventTypes = '${{ inputs.event-types }}'.split(',').map(t => t.trim());
Original file line number Diff line number Diff line change 3939
4040 - name : Check if GitHubWorkflowChanges is present
4141 id : filter
42- uses : actions/github-script@v7.0.1
42+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
4343 env :
4444 FILES_JSON : ${{ steps.get-files.outputs.files }}
4545 with :
Original file line number Diff line number Diff line change 1111 Show-Environment
1212 shell : pwsh
1313
14- - uses : actions/setup-dotnet@v5
14+ - uses : actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
1515 with :
1616 global-json-file : ./global.json
1717
@@ -97,21 +97,21 @@ runs:
9797 shell : pwsh
9898
9999 - name : Upload deb packages
100- uses : actions/upload-artifact@v4
100+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
101101 with :
102102 name : packages-deb
103103 path : ${{ runner.workspace }}/packages/*.deb
104104 if-no-files-found : ignore
105105
106106 - name : Upload rpm packages
107- uses : actions/upload-artifact@v4
107+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
108108 with :
109109 name : packages-rpm
110110 path : ${{ runner.workspace }}/packages/*.rpm
111111 if-no-files-found : ignore
112112
113113 - name : Upload tar.gz packages
114- uses : actions/upload-artifact@v4
114+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
115115 with :
116116 name : packages-tar
117117 path : ${{ runner.workspace }}/packages/*.tar.gz
Original file line number Diff line number Diff line change 2929 shell : pwsh
3030
3131 - name : Download Build Artifacts
32- uses : actions/download-artifact@v4
32+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
3333 with :
3434 path : " ${{ github.workspace }}"
3535
4242 Write-LogGroupEnd -Title 'Artifacts Directory'
4343 shell : pwsh
4444
45- - uses : actions/setup-dotnet@v4
45+ - uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
4646 with :
4747 global-json-file : ./global.json
4848
@@ -101,7 +101,7 @@ runs:
101101 Write-LogGroupEnd -Title 'Bootstrap'
102102
103103 - name : Extract Files
104- uses : actions/github-script@v7.0.0
104+ uses : actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0 # v7.0.0
105105 env :
106106 DESTINATION_FOLDER : " ${{ github.workspace }}/bins"
107107 ARCHIVE_FILE_PATTERNS : " ${{ github.workspace }}/build/build.zip"
Original file line number Diff line number Diff line change 2121
2222 - name : Upload testResults artifact
2323 if : always()
24- uses : actions/upload-artifact@v4
24+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2525 with :
2626 name : junit-pester-${{ inputs.name }}
2727 path : ${{ runner.workspace }}/testResults
Original file line number Diff line number Diff line change 2929 shell : pwsh
3030
3131 - name : Download Build Artifacts
32- uses : actions/download-artifact@v4
32+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
3333 with :
3434 path : " ${{ github.workspace }}"
3535
4242 Write-LogGroupEnd -Title 'Artifacts Directory'
4343 shell : pwsh
4444
45- - uses : actions/setup-dotnet@v4
45+ - uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
4646 with :
4747 global-json-file : .\global.json
4848
Original file line number Diff line number Diff line change 4141 with :
4242 fetch-depth : ' 0'
4343
44- - uses : actions/setup-dotnet@v5
44+ - uses : actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
4545 with :
4646 global-json-file : ./global.json
4747
Original file line number Diff line number Diff line change 2525 # You can define any steps you want, and they will run before the agent starts.
2626 # If you do not check out your code, Copilot will do this for you.
2727 steps :
28- - uses : actions/checkout@v6
28+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929 with :
3030 fetch-depth : 1000
3131
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ jobs:
1818
1919 steps :
2020 - name : Check out the repository
21- uses : actions/checkout@v5
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
2323 - name : Verify PR has label starting with 'cl-'
2424 id : verify-labels
25- uses : actions/github-script@v8
25+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
2626 with :
2727 script : |
2828 const labels = context.payload.pull_request.labels.map(label => label.name.toLowerCase());
You can’t perform that action at this time.
0 commit comments