Skip to content

Commit

Permalink
add: sha1sum
Browse files Browse the repository at this point in the history
  • Loading branch information
System233 committed Apr 1, 2024
1 parent ec3bfc7 commit ff25e15
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 34,8 @@ jobs:
ANDROID_ABI_NO_HYPHEN=$(echo $ANDROID_ABI | sed 's/-//g')
BOOST_DIST_NAME=$BOOST_VERSION-icu$ICU_NAME-android$ANDROID_PLATFORM-$ANDROID_ABI_NO_HYPHEN-$BUILD_TYPE
echo "BOOST_VERSION=$BOOST_VERSION" >> $GITHUB_OUTPUT
echo "ICU_VERSION=$ICU_VERSION" >> $GITHUB_OUTPUT
echo "TAG_NAME=$BOOST_VERSION-icu$ICU_NAME" >> $GITHUB_OUTPUT
echo "DIST_NAME=$BOOST_DIST_NAME" >> $GITHUB_OUTPUT
echo $BOOST_VERSION-$ICU_VERSION-$BUILD_TYPE
Expand All @@ -48,10 50,18 @@ jobs:
cd dist
zip -9 ../${{steps.build.outputs.DIST_NAME}}.zip -r .
tar -czf ../${{steps.build.outputs.DIST_NAME}}.tar.gz .
cd ..
sha1sum ${{steps.build.outputs.DIST_NAME}}.zip >${{steps.build.outputs.DIST_NAME}}.zip.sha1
sha1sum ${{steps.build.outputs.DIST_NAME}}.tar.gz >${{steps.build.outputs.DIST_NAME}}.tar.gz.sha1
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{steps.build.outputs.TAG_NAME}}
body: |
Boost: [${{steps.build.outputs.BOOST_VERSION}}](https://github.com/boostorg/boost/tree/${{steps.build.outputs.BOOST_VERSION}})
ICU: [${{steps.build.outputs.ICU_VERSION}}](https://github.com/unicode-org/icu/tree/${{steps.build.outputs.ICU_VERSION}})
files: |
${{steps.build.outputs.DIST_NAME}}.zip
${{steps.build.outputs.DIST_NAME}}.zip.sha1
${{steps.build.outputs.DIST_NAME}}.tar.gz
${{steps.build.outputs.DIST_NAME}}.tar.gz.sha1

0 comments on commit ff25e15

Please sign in to comment.