Skip to content

Commit 84d15bf

Browse files
authored
Pin marketplace actions + release notes
1 parent cee6c0a commit 84d15bf

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,42 +9,45 @@ jobs:
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-
uses: ilammy/[email protected]
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-
uses: srfrnk/[email protected]
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

Comments
 (0)