Skip to content

Update README.md

Update README.md #473

Workflow file for this run

name: CI_build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
max-parallel: 6
matrix:
build_configuration: [Release, Debug]
build_platform: [x64, Win32, ARM64]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: MSBuild of plugin dll
working-directory: .\vs.proj
run: |
msbuild MultiReplace.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v143" /p:CppStandard=17 /target:zip
env:
ZIPCMD: 7z a -tzip
- name: Zip additional files
run: 7z a vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}\MultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip -spf2 help_use_variables_light.html help_use_variables_dark.html languages.ini
- name: List files in output directory
run: dir vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}
- name: Archive
uses: actions/upload-artifact@v4
with:
name: MultiReplace-${{ matrix.build_configuration }}-${{ matrix.build_platform }}
path: vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}\MultiReplace.dll
- name: Debug Output
run: echo "${{ github.event.commits[0].message }}"
- name: Create Release
uses: softprops/action-gh-release@v2.0.8
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 }}/MultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip
- name: Compute SHA256
if: startsWith(github.ref, 'refs/tags/') && matrix.build_configuration == 'Release'
run: sha256sum.exe vs.proj\${{ matrix.build_configuration }}\${{ matrix.build_platform }}\MultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip