From ed3deac1568615deac5363e5024b6b80bd07a540 Mon Sep 17 00:00:00 2001 From: 417-72KI <417.72ki@gmail.com> Date: Mon, 26 Aug 2024 00:14:30 +0900 Subject: [PATCH] save executable binary as an artifact on test --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b77f13d..9d8dca2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,5 +67,12 @@ jobs: run: | swift package resolve sudo swift .build/checkouts/ClangSwift/utils/make-pkgconfig.swift + - name: Build + run: swift build - name: Test run: swift test + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + path: .build/debug/sbgen + name: sbgen-${{ github.sha }}-xcode-${{ matrix.xcode_version }}