Skip to content

Commit

Permalink
Update release_build_and_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinAllen authored May 13, 2024
1 parent 0f77c34 commit 5b994e2
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/release_build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: microsoft/setup-msbuild@v1.0.2

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

- name: 4. Building Project
run: msbuild './src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.csproj' /p:configuration='Release' /p:platform='x64'

- name: 5. Publishing Build Artifact
uses: actions/upload-artifact@v3

- name: 5. Create Information File
uses: jsdaniell/create-json@v1.2.3
with:
name: './src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.info'
json: '{"sha":"${{ github.sha }}", "version":"${{ steps.step-version.outputs.version }}"}'

- name: 6. Publishing Build Artifact
uses: actions/upload-artifact@v4
with:
path: './src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix'
path: |
'./src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix'
'./src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.info'

0 comments on commit 5b994e2

Please sign in to comment.