Skip to content

Commit

Permalink
Use step to get short sha
Browse files Browse the repository at this point in the history
  • Loading branch information
mimartin12 committed Apr 16, 2024
1 parent 3dc5f12 commit 8ebc7a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8ebc7a7

Please sign in to comment.