From d57da61b90715038c9320e9fcb6add165fd98e74 Mon Sep 17 00:00:00 2001 From: tim-hub Date: Tue, 31 Jan 2023 22:06:04 +1300 Subject: [PATCH] remove zip folder as well --- .github/workflows/release.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45d6e41..3d57d43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,9 +6,6 @@ on: tags: - "*" -env: - PLUGIN_NAME: obsidian-bible-reference - jobs: build: runs-on: ubuntu-latest @@ -34,11 +31,6 @@ jobs: run: | pnpm install pnpm run build - mkdir ${{ env.PLUGIN_NAME }} - cp ./main.js ${{ env.PLUGIN_NAME }}/main.js - cp ./styles.css ${{ env.PLUGIN_NAME }}/styles.css - cp ./manifest.json ${{ env.PLUGIN_NAME }}/manifest.json - zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }} ls echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)" - name: Create Release @@ -53,17 +45,6 @@ jobs: draft: false prerelease: false - - name: Upload zip file - id: upload-zip - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./${{ env.PLUGIN_NAME }}.zip - asset_name: ${{ env.PLUGIN_NAME }}-${{ steps.build.outputs.tag_name }}.zip - asset_content_type: application/zip - - name: Upload main.js id: upload-main uses: actions/upload-release-asset@v1