File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ jobs:
1818 build :
1919 runs-on : windows-2022
2020 steps :
21- - uses : actions/checkout@v3
21+ - uses : actions/checkout@v4
2222 with :
2323 # fetch-depth required for gitversion in `Build` step
2424 fetch-depth : 0
2525
26- - uses : actions/setup-go@v3
26+ - uses : actions/setup-go@v5
2727 with :
2828 go-version-file : ' go.mod'
2929
5050 $ErrorActionPreference = "Stop"
5151
5252 dotnet-gitversion /output json /showvariable FullSemVer | Set-Content VERSION -PassThru
53+ $Version = Get-Content VERSION
5354
5455 make crossbuild
5556 # '+' symbols are invalid characters in image tags
6162 }
6263
6364 - name : Upload Artifacts
64- uses : actions/upload-artifact@v3
65+ uses : actions/upload-artifact@v4
6566 with :
6667 name : windows_exporter_binaries
6768 path : output\windows_exporter-*.exe
8485
8586 - name : Login to GitHub container registry
8687 if : ${{ github.event_name != 'pull_request' }}
87- uses : docker/login-action@v2
88+ uses : docker/login-action@v3
8889 with :
8990 registry : ghcr.io
9091 username : ${{ github.repository_owner }}
You can’t perform that action at this time.
0 commit comments