From 6092c9a735c62ba3765bd6688b7f0e195242c1c5 Mon Sep 17 00:00:00 2001 From: Micaiah Martin Date: Tue, 24 Oct 2023 08:29:21 -0600 Subject: [PATCH] Add artifact upload --- .github/workflows/build-swift.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-swift.yml b/.github/workflows/build-swift.yml index bcde6a77d..784e65365 100644 --- a/.github/workflows/build-swift.yml +++ b/.github/workflows/build-swift.yml @@ -29,6 +29,9 @@ jobs: build: runs-on: macos-13 + needs: version + env: + _VERSION: ${{ needs.version.outputs.package_version }} steps: - name: Checkout repo uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 @@ -55,3 +58,10 @@ jobs: run: | chmod +x build.sh ./build.sh + + - name: Upload BitwardenFFI.xcframework artifact + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + with: + name: BitwardenFFI-${{ env._VERSION }}.xcframework + path: languages/swift/BitwardenFFI.xcframework + if-no-files-found: error