From c4a32cd32b4ce2d7fbd28c32d9a3a2b4c54e6b9c Mon Sep 17 00:00:00 2001 From: adxsoft Date: Thu, 23 Feb 2023 15:22:12 +1100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 492e9a5..c8ff577 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,10 +22,8 @@ jobs: - name: Build id: build run: | - npm i && npm run build mkdir ${{ env.PLUGIN_NAME }} - cp LICENSE README.md package.json icon.png ${{ env.PLUGIN_NAME }} - mv dist ${{ env.PLUGIN_NAME }} + cp LICENSE README.md package.json index.html index.js style.css icon.png ${{ env.PLUGIN_NAME }} zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }} ls echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)"