Skip to content

Commit

Permalink
Update publish_release_reusable.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmwells-amazon authored Jun 14, 2023
1 parent 6c0eabe commit a3cd79a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish_release_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ jobs:
working-directory: ./CedarJava
shell: bash
run: bash config.sh && ./gradlew build
- name: Move libcedar_java_ffi.dylib
- name: Move libcedar_java_ffi
working-directory: ./CedarJavaFFI
shell: bash
run: mv target/debug/libcedar_java_ffi.so target/debug/libcedar_java_ffi-${{ inputs.name }}.so
- name: Save hash for libcedar_java_ffi
working-directory: ./CedarJavaFFI
shell: bash
run: sha1sum target/debug/libcedar_java_ffi-${{ inputs.name }}.so > target/debug/libcedar_java_ffi-${{ inputs.name }}.so.sha1
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -70,5 +74,7 @@ jobs:
body: ${{ inputs.release_notes }}
draft: ${{ inputs.draft }}
prerelease: ${{ inputs.prerelease }}
files: target/debug/libcedar_java_ffi-${{ inputs.name }}.so
files: |
./CedarJavaFFI/target/debug/libcedar_java_ffi-${{ inputs.name }}.so
./CedarJavaFFI/target/debug/libcedar_java_ffi-${{ inputs.name }}.so.sha1
fail_on_unmatched_files: true

0 comments on commit a3cd79a

Please sign in to comment.