Skip to content

Commit

Permalink
feat: 调整action构建的dist (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf authored Apr 4, 2024
1 parent c75476d commit c17edeb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 86 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/dist-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@ jobs:
- run: |
sed -i 's@http://localhost:8888/@/@g' .env.production
git config --global url."https://".insteadOf git://
npm install --registry=http://registry.npmmirror.com
npm install
yarn build:prod
- run: |
mkdir go-ldap-admin-ui
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
openssl md5 go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz > go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz.md5
zip -q -r dist.zip dist
openssl md5 dist.zip > dist.zip.md5
- name: Upload release package
uses: softprops/action-gh-release@v1
with:
files: |
go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz
go-ldap-admin-ui-${{ env.GITHUB_REF_NAME }}.tar.gz.md5
dist.zip
dist.zip.md5
78 changes: 0 additions & 78 deletions .github/workflows/docker-image.yml

This file was deleted.

0 comments on commit c17edeb

Please sign in to comment.