Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
daddel80 committed Dec 26, 2023
2 parents 61fbd09 + d245db1 commit e3909a0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/CI_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push, pull_request]

jobs:
build:

runs-on: windows-latest
strategy:
max-parallel: 6
Expand All @@ -21,25 +20,30 @@ jobs:

- 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
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
ZIPCMD: 7z a -tzip

- 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: Release
- name: Create 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 }}/MultiReplace-v${{ github.ref_name }}-${{ matrix.build_platform }}.zip

- name: SHA256
- 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

0 comments on commit e3909a0

Please sign in to comment.