99 runs-on : windows-2019
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v2
12+ uses : actions/checkout@v3
1313 with :
1414 fetch-depth : 0
15- # toolset should be 14.27, but it's not installed on Github. release.bat will help out here instead so we will eventually get a 14.27 env
15+
1616 - name : Setup VS environment
17- 17+ uses : ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89 # v1.12.0
1818 with :
1919 # vsversion: 2019 # blows up on github. lol...
20+ # toolset should be 14.27, but it's not installed on Github. release.bat will help out here instead so we will eventually get a 14.27 env
2021 toolset : 14.29
22+
2123 - name : Build
2224 run : |
2325 cmd /c call release.bat
2426
2527 - name : Get current time
26- 28+ uses : srfrnk/current-time@5a4163ad035ccd9a407ec9e519c3b6ba1b633d1e # v1.1.0
2729 id : current-time
2830 with :
2931 format : YYYY-MM-DD_HH-MM
3032
31- - uses : actions/upload-artifact@v2
33+ - uses : actions/upload-artifact@v3
3234 with :
3335 name : ${{ github.event.repository.name }}_${{ steps.current-time.outputs.formattedTime }}
3436 path : Release/
3537
3638 - name : Compress artifacts
37- uses : papeloto /action-zip@v1
39+ uses : vimtor /action-zip@26a249fb00d43ca98dad77a4b3838025fc226aa1 # v1.1
3840 if : ${{ startsWith(github.ref, 'refs/tags/') }}
3941 with :
4042 files : Release/
4143 dest : ${{ github.event.repository.name }}_${{ steps.current-time.outputs.formattedTime }}.zip
4244
4345 - name : Release
44- uses : softprops/action-gh-release@v1
46+ uses : softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
4547 if : ${{ startsWith(github.ref, 'refs/tags/') }}
4648 with :
4749 prerelease : ${{ !startsWith(github.ref, 'refs/tags/v') || contains(github.ref, '-pre') }}
4850 files : ${{ github.event.repository.name }}_${{ steps.current-time.outputs.formattedTime }}.zip
51+ generate_release_notes : true
4952 env :
50- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments