diff --git a/.github/workflows/build-swift.yml b/.github/workflows/build-swift.yml index 2d1cf8aea..70d4a16a7 100644 --- a/.github/workflows/build-swift.yml +++ b/.github/workflows/build-swift.yml @@ -54,13 +54,17 @@ jobs: - name: Build shell: bash working-directory: languages/swift + id: build run: | chmod +x build.sh ./build.sh + # SHA Short + echo "short-sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Upload BitwardenFFI.xcframework artifact uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: - name: BitwardenFFI-${{ env._VERSION }}-${${{ github.sha }}:0:7}.xcframework + name: BitwardenFFI-${{ env._VERSION }}-${{ steps.build.outputs.short-sha }}.xcframework path: languages/swift/BitwardenFFI.xcframework if-no-files-found: error