github icon indicating copy to clipboard operation
github copied to clipboard

Assets not uploaded / detected ? May my configuration is wrong ?

Open henri9813 opened this issue 1 year ago • 2 comments

Here is my configuration,

{
 "branches": ["main"],
 "plugins": [
 "@semantic-release/commit-analyzer",
 "@semantic-release/release-notes-generator",
 [
 "@semantic-release/github",
 {
 "assets": [
 { "path": "dist" }
 ]
 }
 ],
 "@semantic-release/github"
 ],
 "publish": ["@semantic-release/github"],
 "verifyConditions": ["@semantic-release/github"],
 "success": false,
 "fail": false,
 "npmPublish": false
}

What's wrong with this ?

image

Here is my workflow

 release:
 permissions:
 contents: write
 issues: write
 pull-requests: write
 needs:
 - macos-build
 runs-on: ubuntu-latest
 steps:
 - name: Checkout
 uses: actions/checkout@v4
 - name: Download binaries
 uses: actions/download-artifact@v4
 with:
 path: dist

 - run: find .
 - uses: actions/setup-node@v4
 with:
 node-version: latest

 - name: "configure semantic-release"
 run: npm install -D semantic-release @semantic-release/github

 - name: Semantic Release
 uses: cycjimmy/semantic-release-action@v4
 env:
 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

And i confirm I got file in my dist directory.

Run find .
.
./README.md
./dist
./dist/iPingTray.dmg
./dist/iPingTray.dmg/iPingTray.dmg

Do you know why ?

henri9813 avatar Jun 02 '24 09:06 henri9813

We do not provide support for the action you are using. Please seek support from the maintainers of that action or reproduce without that action involved.

travi avatar Jun 02 '24 13:06 travi

Hello,

Do you recommend an action ?

I move back to "simple npx run semantic-release",

Here are some links for the debugging:

  • the job's logs which generate the release: https://github.com/henri9813/iPingTray/actions/runs/9338724446/job/25702223675
  • my configuration: https://github.com/henri9813/iPingTray/blob/main/.releaserc.json
image

Best regards,

henri9813 avatar Jun 02 '24 13:06 henri9813