From 7f3c495d2ea38dc0af777c0fca891494598a5a8d Mon Sep 17 00:00:00 2001 From: Elliot Goodrich Date: Thu, 14 Nov 2024 06:47:04 +0000 Subject: [PATCH] Fix build directory when building releases --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d426766..50771c2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,18 +51,18 @@ jobs: if: startsWith(github.ref, 'refs/tags/') && matrix.build_type == 'Release' run: cmake --build output --config ${{ matrix.build_type }} --target package - name: Generate Changelog - run: git show -s --format='%b' > build/CHANGELOG.txt + run: git show -s --format='%b' > output/CHANGELOG.txt if: startsWith(github.ref, 'refs/tags/') && matrix.build_type == 'Release' - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') && matrix.build_type == 'Release' with: - body_path: build/CHANGELOG.txt + body_path: output/CHANGELOG.txt files: | - build/trimja-*-Linux.tar.gz - build/trimja-*-Darwin.tar.gz - build/trimja-*-win64.exe - build/trimja-*.zip + output/trimja-*-Linux.tar.gz + output/trimja-*-Darwin.tar.gz + output/trimja-*-win64.exe + output/trimja-*.zip format: runs-on: ubuntu-latest steps: