Skip to content

Commit

Permalink
Remov: gpr publish
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 29, 2024
1 parent cd35c14 commit d01040a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@ jobs:
name: build-artifacts
path: dist

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/download-artifact@v4
with:
name: build-artifacts
path: dist
- run: |
npm config set registry "https://npm.pkg.github.com/"
npm config set scope "@${{ github.repository_owner }}"
npm publish
env:
NODE_AUTH_TOKEN: ${{ github.token }}
# publish-gpr:
# needs: build
# runs-on: ubuntu-latest
# permissions:
# contents: read
# packages: write
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v3
# with:
# node-version: 20
# - uses: actions/download-artifact@v4
# with:
# name: build-artifacts
# path: dist
# - run: |
# npm config set registry "https://npm.pkg.github.com/"
# npm config set scope "@${{ github.repository_owner }}"
# npm publish
# env:
# NODE_AUTH_TOKEN: ${{ github.token }}

publish-npm:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hivessh",
"version": "1.0.4",
"version": "1.0.5",
"description": "HiveSsh simplifies SSH2 connections via promise-based task execution on Linux servers with built-in server utilities and powerful command execution functions",
"main": "dist/index.js",
"type": "module",
Expand Down

0 comments on commit d01040a

Please sign in to comment.