From 6a6629745cddaaa482c3a2749975686ee84c9b31 Mon Sep 17 00:00:00 2001 From: Philipp Martens Date: Tue, 14 Jan 2025 13:40:15 +0100 Subject: [PATCH] experiment with saving build results as artifacts --- .github/workflows/build_executable.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build_executable.yml b/.github/workflows/build_executable.yml index d16e8c4..40f4b04 100644 --- a/.github/workflows/build_executable.yml +++ b/.github/workflows/build_executable.yml @@ -26,6 +26,16 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ['3.13'] + include: + - os: ubuntu-latest + art-name: ubuntu-executable + art-path: dist/cli + - os: windows-latest + art-name: windows-executable + art-path: dist/cli.exe + - os: macos-latest + art-name: macos-executable + art-path: dist/cli steps: - uses: actions/checkout@v4 @@ -52,3 +62,9 @@ jobs: - name: Test executable run: dist/cli --help + + - name: Upload executable artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.art-name }} + path: ${{ matrix.art-path }}