Skip to content

Commit

Permalink
remove zip folder as well
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hub committed Jan 31, 2023
1 parent 9fe5dd4 commit d57da61
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
tags:
- "*"

env:
PLUGIN_NAME: obsidian-bible-reference

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d57da61

Please sign in to comment.