From 79ef039d5c2df8b0fd248567bf7f07cffb8d99bb Mon Sep 17 00:00:00 2001 From: 4Source <38220764+4Source@users.noreply.github.com> Date: Sat, 16 Aug 2025 23:01:35 +0200 Subject: [PATCH] Fix Manual Release with missing (optional) styles.css --- .github/workflows/manual_release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual_release.yml b/.github/workflows/manual_release.yml index f7e1c83..464e547 100644 --- a/.github/workflows/manual_release.yml +++ b/.github/workflows/manual_release.yml @@ -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