From da062d21f9dba9d918f25a3155c3f385e084dd7a Mon Sep 17 00:00:00 2001 From: Pierre Guillot Date: Mon, 9 Dec 2024 14:10:45 +0100 Subject: [PATCH] .github/workflows/ci.yml: package and distribute patchs --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 988cb6ff..d2787e9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -191,12 +191,19 @@ jobs: - name: Configure run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.build_type }} -DPARTIELS_BUILD_TAG=${{ env.tag_name }} - name: Build - run: cmake --build ${{ github.workspace }}/build --target PartielsManual + run: | + cmake --build ${{ github.workspace }}/build --target PartielsManual + cmake --build ${{ github.workspace }}/build --target PartielsPatchs - name: Artifact uses: actions/upload-artifact@v4.4.3 with: name: Partiels-Manual path: ${{ github.workspace }}/build/Partiels-Manual.pdf + - name: Artifact + uses: actions/upload-artifact@v4.4.3 + with: + name: Partiels-Patchs + path: ${{ github.workspace }}/build/Partiels-Patchs.zip - name: Release uses: softprops/action-gh-release@v2 if: ${{ env.is_tagged == 'true' }} @@ -206,4 +213,6 @@ jobs: fail_on_unmatched_files: true generate_release_notes: true body_path: ${{ github.workspace }}/build/Partiels-Release.md - files: ${{ github.workspace }}/build/Partiels-Manual.pdf + files: | + ${{ github.workspace }}/build/Partiels-Manual.pdf + ${{ github.workspace }}/build/Partiels-Patchs.zip