Skip to content

Commit

Permalink
Standardization 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinAllen committed May 13, 2024
1 parent 1f490a9 commit 0ae8a9e
Show file tree
Hide file tree
Showing 26 changed files with 480 additions and 485 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ jobs:
id: artifact_manifest
uses: ActionsTools/read-json-action@main
with:
file_path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.info
file_path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.info

- name: 3. Publish Release to Marketplace
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1
with:
marketplace-pat: ${{ secrets.VS_PAT }}
publish-manifest-path: ./src/extension.manifest.json
vsix-path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix
publish-manifest-path: ./resources/extension.manifest.json
vsix-path: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix

- name: 4. Create Tag & Release
uses: ncipollo/release-action@v1.14.0
with:
artifacts: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix
artifacts: ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
generateReleaseNotes: true
makeLatest: true
token: ${{secrets.GH_SECRET}}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release_build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ jobs:
id: step-version
uses: CodingWithCalvin/GHA-VSVsixVersioner@v1
with:
extension-manifest-file: 'src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/source.extension.vsixmanifest'
extension-source-file: 'src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/VsixConstants.cs'
extension-manifest-file: 'src/CodingWithCalvin.OpenInNotepadPlusPlus/source.extension.vsixmanifest'
extension-source-file: 'src/CodingWithCalvin.OpenInNotepadPlusPlus/source.extension.cs'

- name: 2. Restoring Packages
run: nuget restore ./src/CodingWithCalvin.OpenInNotepadPlusPlus.sln

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

- name: 4. 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'
name: 'src/CodingWithCalvin.OpenInNotepadPlusPlus/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.info'
json: '{"sha":"${{ github.sha }}", "version":"${{ steps.step-version.outputs.version }}"}'

- name: 5. Publishing Build Artifact
uses: actions/upload-artifact@v4
with:
path: |
src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.info
src/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix
src/CodingWithCalvin.OpenInNotepadPlusPlus/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.info
src/CodingWithCalvin.OpenInNotepadPlusPlus/bin/x64/Release/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
File renamed without changes.
File renamed without changes
File renamed without changes
16 changes: 0 additions & 16 deletions src/CodingWithCalvin.OpenInNotepadPlusPlus.Shared/AssemblyInfo.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0ae8a9e

Please sign in to comment.