Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
henri9813 opened this issue Jun 2, 2024 · 2 comments
Open

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

henri9813 opened this issue Jun 2, 2024 · 2 comments

Comments

@henri9813
Copy link

henri9813 commented Jun 2, 2024

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 henri9813 changed the title I can't this make this works. but don't know why. Assets not uploaded / detected ? May my configuration is wrong ? Jun 2, 2024
@travi
Copy link
Member

travi commented Jun 2, 2024

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.

@henri9813
Copy link
Author

henri9813 commented Jun 2, 2024

Hello,

Do you recommend an action ?

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

Here are some links for the debugging:

image

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants