From 7832b920f6cd042d264c13d84520317a624acf89 Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Thu, 14 Sep 2023 19:46:57 +0200 Subject: [PATCH] Update GitHub release workflow --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd59b7e..030549d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,10 +20,10 @@ jobs: echo "RELEASE_NOTES<<EOF" >> $env:GITHUB_ENV echo $env:RELEASE_NOTES | foreach {"* " + $_} >> $env:GITHUB_ENV echo "EOF" >> $env:GITHUB_ENV - if: contains(env.RELEASE_NOTES, '\n') + if: ${{ env.RELEASE_NOTES }} =~ '*\n*' - name: Zip run: | - 7z a -tzip -mx9 $env:ARCHIVE auto_activator.py LICENSE README.md + 7z a -tzip -mx9 $env:ARCHIVE auto_activator.py LICENSE - name: Create Release uses: softprops/action-gh-release@v1 with: