Skip to content

Commit 5b994e2

Browse files
authored
Update release_build_and_deploy.yml
1 parent 0f77c34 commit 5b994e2

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/release_build_and_deploy.yml

+15-5
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
runs-on: windows-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
19+
1920
- uses: microsoft/[email protected]
2021

2122
- name: 1. Versioning Release
23+
id: step-version
2224
uses: CodingWithCalvin/GHA-VSVsixVersioner@v1
2325
with:
2426
extension-manifest-file: './src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/source.extension.vsixmanifest'
@@ -32,8 +34,16 @@ jobs:
3234

3335
- name: 4. Building Project
3436
run: msbuild './src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.csproj' /p:configuration='Release' /p:platform='x64'
35-
36-
- name: 5. Publishing Build Artifact
37-
uses: actions/upload-artifact@v3
37+
38+
- name: 5. Create Information File
39+
uses: jsdaniell/[email protected]
40+
with:
41+
name: './src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.info'
42+
json: '{"sha":"${{ github.sha }}", "version":"${{ steps.step-version.outputs.version }}"}'
43+
44+
- name: 6. Publishing Build Artifact
45+
uses: actions/upload-artifact@v4
3846
with:
39-
path: './src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix'
47+
path: |
48+
'./src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix'
49+
'./src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.info'

0 commit comments

Comments
 (0)