softprops / action-gh-release

📦 :octocat: GitHub Action for creating GitHub Releases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

files path always fails

machinshin opened this issue · comments

commented

i'm trying to use this action for releases but with.files fails so I'm unclear on what the expected parameters are.
I get this error: Pattern './dist/api.d.ts' does not match any files.

my typescript build config writes files to ./dist/ , I've tried pathing with and w/o the "./", tried globs like: dist/**/*.* but no success.
as you can see below I've also tried explicitly naming the files (though that shouldn't be necessary). Any help is appreciated

     uses: softprops/action-gh-release@v1
      with:
        body_path: CHANGELOG.md
        token: ${{ secrets.GH_TOKEN }}
        tag_name: ${{ env.TAG }}
        name: ${{ env.TAG }}
        files: |
          ./dist/api.d.ts
          ...other-files....