From 32f83e4c358d4952b061cdf9c7bf3caf6cbc4134 Mon Sep 17 00:00:00 2001 From: eryajf Date: Wed, 22 Mar 2023 14:18:17 +0800 Subject: [PATCH] fix: use openssl md5 --- .github/workflows/dist-to-release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/dist-to-release.yml b/.github/workflows/dist-to-release.yml index 6415215..f452cdd 100644 --- a/.github/workflows/dist-to-release.yml +++ b/.github/workflows/dist-to-release.yml @@ -32,9 +32,7 @@ jobs: mv README.md LICENSE default.conf go-ldap-admin-ui mv dist go-ldap-admin-ui tar zcvf go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz go-ldap-admin-ui - sudo apt-get update - sudo apt-get install md5sum - md5 go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz > go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz.md5 + openssl md5 go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz > go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz.md5 - name: Upload release package uses: softprops/action-gh-release@v1