Skip to content

Commit

Permalink
I apologize for the issues you're facing. It seems like there are two…
Browse files Browse the repository at this point in the history
… problems:

The file path pattern in the files parameter of softprops/action-gh-release@v1 is not matching the actual file. The variable interpolation ${TAG_NAME} doesn't work within single quotes. You should use double quotes for variable interpolation.

The error "Resource not accessible by integration" typically occurs when the GitHub Token used by the workflow doesn't have sufficient permissions to create releases.

Here's an updated workflow that should address these issues:
  • Loading branch information
arran4 authored Oct 25, 2023
1 parent 43c3622 commit d8e0590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ jobs:
id: create_release
uses: softprops/action-gh-release@v1
with:
files: ./Inotify-User-Instances-Limit-Configurator-${TAG_NAME}.deb
files: ./Inotify-User-Instances-Limit-Configurator-*.deb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d8e0590

Please sign in to comment.