softprops / action-gh-release

📦 :octocat: GitHub Action for creating GitHub Releases
MIT License
3.85k stars 434 forks source link

File pattern not matching file name when using " #440

Open JW-CH opened 2 months ago

JW-CH commented 2 months ago

Introduction

I was having issues with the action-gh-release@v2, I found that there were some other issues with v1 that were fixed in v2. I had to spend quite a bit of time to find that " is not allowed when having multiple conditions.

Current configuration

- name: Publish
        uses: softprops/action-gh-release@v2
        with:
          files: |
            "ImmichFrame*"
            "com.immichframe*"

Problem

Following config is not working:

files: |
    "ImmichFrame*"
    "com.immichframe*"

Fix (not use "):

files: |
    ImmichFrame*
    com.immichframe*