@@ -28,15 +28,15 @@ jobs:
2828 runs-on : ubuntu-latest
2929 steps :
3030 - name : Checkout Code
31- uses : actions/checkout@v3
31+ uses : actions/checkout@v4
3232 with :
3333 fetch-depth : 0
3434 - name : Install GitVersion
35- uses : gittools/actions/gitversion/setup@v0.9.15
35+ uses : gittools/actions/gitversion/setup@v1.1.1
3636 with :
3737 versionSpec : 5.x
3838 - name : Evaluate Next Version
39- uses : gittools/actions/gitversion/execute@v0.9.15
39+ uses : gittools/actions/gitversion/execute@v1.1.1
4040 with :
4141 configFilePath : GitVersion.yml
4242 - name : Build & Package Module
4545 env :
4646 ModuleVersion : ${{ env.gitVersion.NuGetVersionV2 }}
4747 - name : Publish Build Artifact
48- uses : actions/upload-artifact@v3
48+ uses : actions/upload-artifact@v4
4949 with :
5050 name : ${{ env.buildArtifactName }}
5151 path : ${{ env.buildFolderName }}/
@@ -55,19 +55,19 @@ jobs:
5555 needs : Build_Stage_Package_Module
5656 steps :
5757 - name : Checkout Code
58- uses : actions/checkout@v3
58+ uses : actions/checkout@v4
5959 with :
6060 fetch-depth : 0
6161 - name : Download Build Artifact
62- uses : actions/download-artifact@v3
62+ uses : actions/download-artifact@v4
6363 with :
6464 name : ${{ env.buildArtifactName }}
6565 path : ${{ env.buildFolderName }}
6666 - name : Run Tests
6767 shell : pwsh
6868 run : ./build.ps1 -tasks test
6969 - name : Publish Test Artifact
70- uses : actions/upload-artifact@v3
70+ uses : actions/upload-artifact@v4
7171 with :
7272 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
7373 name : CodeCoverageLinux
@@ -78,19 +78,19 @@ jobs:
7878 needs : Build_Stage_Package_Module
7979 steps :
8080 - name : Checkout Code
81- uses : actions/checkout@v3
81+ uses : actions/checkout@v4
8282 with :
8383 fetch-depth : 0
8484 - name : Download Build Artifact
85- uses : actions/download-artifact@v3
85+ uses : actions/download-artifact@v4
8686 with :
8787 name : ${{ env.buildArtifactName }}
8888 path : ${{ env.buildFolderName }}
8989 - name : Run Tests
9090 shell : pwsh
9191 run : ./build.ps1 -tasks test
9292 - name : Publish Test Artifact
93- uses : actions/upload-artifact@v3
93+ uses : actions/upload-artifact@v4
9494 with :
9595 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
9696 name : CodeCoverageWinPS7
@@ -101,19 +101,19 @@ jobs:
101101 needs : Build_Stage_Package_Module
102102 steps :
103103 - name : Checkout Code
104- uses : actions/checkout@v3
104+ uses : actions/checkout@v4
105105 with :
106106 fetch-depth : 0
107107 - name : Download Build Artifact
108- uses : actions/download-artifact@v3
108+ uses : actions/download-artifact@v4
109109 with :
110110 name : ${{ env.buildArtifactName }}
111111 path : ${{ env.buildFolderName }}
112112 - name : Run Tests
113113 shell : pwsh
114114 run : ./build.ps1 -tasks test
115115 - name : Publish Test Artifact
116- uses : actions/upload-artifact@v3
116+ uses : actions/upload-artifact@v4
117117 with :
118118 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
119119 name : CodeCoverageMacOS
@@ -129,25 +129,25 @@ jobs:
129129 - Test_Stage_test_macos
130130 steps :
131131 # - name: Checkout Code
132- # uses: actions/checkout@v3
132+ # uses: actions/checkout@v4
133133 # with:
134134 # fetch-depth: 0
135135 # - name: Download Test Artifacts
136- # uses: actions/download-artifact@v3
136+ # uses: actions/download-artifact@v4
137137 # with:
138138 # path: ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/
139139 - name : Download Test Artifact macOS
140- uses : actions/download-artifact@v3
140+ uses : actions/download-artifact@v4
141141 with :
142142 name : CodeCoverageMacOS
143143 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageMacOS/
144144 - name : Download Test Artifact Linux
145- uses : actions/download-artifact@v3
145+ uses : actions/download-artifact@v4
146146 with :
147147 name : CodeCoverageLinux
148148 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageLinux/
149149 - name : Download Test Artifact Windows (PS7)
150- uses : actions/download-artifact@v3
150+ uses : actions/download-artifact@v4
151151 with :
152152 name : CodeCoverageWinPS7
153153 path : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/
@@ -173,7 +173,7 @@ jobs:
173173 nunit_files : ${{ env.buildFolderName }}/${{ env.testResultFolderName }}/CodeCoverageWinPS7/NUnit*.xml
174174 check_name : WinPS71 Test Results
175175 - name : Upload coverage reports to Codecov
176- uses : codecov/codecov-action@v4.0 .1
176+ uses : codecov/codecov-action@v4.1 .1
177177 with :
178178 token : ${{ secrets.CODECOV_TOKEN }}
179179 slug : CyberShell-App/CyberShell
@@ -189,11 +189,11 @@ jobs:
189189 if : github.ref == 'refs/heads/main'
190190 steps :
191191 - name : Checkout Code
192- uses : actions/checkout@v3
192+ uses : actions/checkout@v4
193193 with :
194194 fetch-depth : 0
195195 - name : Download Build Artifact
196- uses : actions/download-artifact@v3
196+ uses : actions/download-artifact@v4
197197 with :
198198 name : ${{ env.buildArtifactName }}
199199 path : ${{ env.buildFolderName }}
0 commit comments