File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff 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/setup-msbuild@v1.0.2
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'
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/create-json@v1.2.3
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'
You can’t perform that action at this time.
0 commit comments