Skip to content

Commit

Permalink
try pushing nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Feb 5, 2025
1 parent 3b853b0 commit 0520d49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/PublishNpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- name: Build Package
run: npm run build
working-directory: src/Components

# - name: Publish to NPM
# run: npm publish --access public
# working-directory: src/Components
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PublishNuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
- name: Pack NuGet Package
run: dotnet pack src/Components/src/Components.fsproj --configuration Release --output nupkgs /p:GitTag=$GIT_TAG_LATEST

# - name: Publish to NuGet
# run: dotnet nuget push nupkgs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
- name: Publish to NuGet
run: dotnet nuget push nupkgs/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
2 changes: 1 addition & 1 deletion src/Components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
#### NPM

1. Update version in `./package.json`.
2. `npm run bundle` (transpiles with fable, creates tsc typed from jsdocs, and bundles with rollup)
2. `npm run bundle` (transpiles with fable, creates tsc types, and bundles with rollup)
3. `npm publish [--tag next]` (Use `--tag next` for prerelease)

0 comments on commit 0520d49

Please sign in to comment.