mirror of
https://github.com/4source/favorites-obsidian-plugin.git
synced 2026-07-22 06:44:46 +00:00
Fix Manual Release with missing (optional) styles.css
This commit is contained in:
parent
f30e74d3d6
commit
79ef039d5c
1 changed files with 6 additions and 3 deletions
9
.github/workflows/manual_release.yml
vendored
9
.github/workflows/manual_release.yml
vendored
|
|
@ -71,7 +71,10 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
FILES="main.js manifest.json"
|
||||
if [ -f styles.css ]; then
|
||||
FILES="$FILES styles.css"
|
||||
fi
|
||||
gh release create "${{ steps.version-bump.outputs.new_version }}" \
|
||||
--title="${{ steps.version-bump.outputs.new_version }}" \
|
||||
--draft \
|
||||
main.js manifest.json styles.css
|
||||
--title "${{ steps.version-bump.outputs.new_version }}" \
|
||||
--draft $FILES
|
||||
|
|
|
|||
Loading…
Reference in a new issue