Skip to content

Commit

Permalink
ci: add styles.css in release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed May 7, 2024
1 parent d1143f7 commit 0343f2e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
PLUGIN_NAME: obsidian-git

permissions:
contents: write
contents: write

jobs:
build:
Expand All @@ -25,9 +25,8 @@ jobs:
pnpm install
pnpm run build --if-present
mkdir ${{ env.PLUGIN_NAME }}
cp main.js manifest.json ${{ env.PLUGIN_NAME }}
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
ls
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 0343f2e

Please sign in to comment.