How to setup semantic-release without the need for npm? #1967
-
Current behaviorI have a C# project and would like to add semantic versioning to it. So whenever I push to the For reproduction:
name: Release
on:
push:
branches:
- `main`
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Install dependencies
run: npm install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }}
run: npx semantic-release
I don't want to publish to the npm registry, it should just create a new release version. Did I miss something or is semantic-release the wrong tool for my project? Expected behaviorThe workflow should pass and create a new semantic version release based on the commits. Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
does the following from the FAQ section of our docs answer your questions? https://semantic-release.gitbook.io/semantic-release/support/faq#can-i-use-semantic-release-to-publish-non-javascript-packages |
Beta Was this translation helpful? Give feedback.
does the following from the FAQ section of our docs answer your questions? https://semantic-release.gitbook.io/semantic-release/support/faq#can-i-use-semantic-release-to-publish-non-javascript-packages