Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
daddel80 committed Jul 10, 2023
2 parents 933c9a1 + 1a9ecfe commit d78d4a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ jobs:

- name: MSBuild of plugin dll
working-directory: .\vs.proj
run: msbuild NppMultiReplace.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v143" /target:zip
run: msbuild MultiReplace.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v143" /target:zip
env:
ZIPCMD: 7z a -tzip

- name: Archive
uses: actions/upload-artifact@v3
with:
name: NppMultiReplace-${{ matrix.build_configuration }}-${{ matrix.build_platform }}
path: vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}\NppMultiReplace.dll
name: MultiReplace-${{ matrix.build_configuration }}-${{ matrix.build_platform }}
path: vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}\MultiReplace.dll

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && matrix.build_configuration == 'Release'
with:
body: ${{ github.event.commits[0].message }}
files: vs.proj/${{ matrix.build_configuration }}/${{ matrix.build_platform }}/NppMultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip
files: vs.proj/${{ matrix.build_configuration }}/${{ matrix.build_platform }}/MultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip

- name: SHA256
if: startsWith(github.ref, 'refs/tags/') && matrix.build_configuration == 'Release'
run: sha256sum.exe vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}\NppMultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip
run: sha256sum.exe vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}\MultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip

0 comments on commit d78d4a2

Please sign in to comment.