Skip to content

Commit

Permalink
add publish step for linux x64
Browse files Browse the repository at this point in the history
  • Loading branch information
jraymakers committed Aug 10, 2024
1 parent a08f8f9 commit 2849b0a
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/NodeJS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,27 @@ on:
workflow_dispatch:
inputs:
linux:
description: 'Linux'
description: 'Run on Linux'
type: boolean
required: true
default: false
publish_linux_x64:
description: 'Publish Bindings for Linux x64'
type: boolean
required: true
default: false
publish_dry_run:
description: 'Publish Dry Run'
type: boolean
required: true
default: true
macos:
description: 'Mac OS'
description: 'Run on Mac OS'
type: boolean
required: true
default: false
windows:
description: 'Windows'
description: 'Run on Windows'
type: boolean
required: true
default: false
Expand Down Expand Up @@ -59,6 +69,15 @@ jobs:
- name: API - Test
working-directory: alt/api
run: pnpm test

- name: Publish - Config Auth Token
run: pnpm config set '//npm.pkg.github.com/:_authToken' "${NPM_AUTH_TOKEN}"
env:
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish - Bindings - Linux x64
working-directory: alt/bindings/pkgs/@duckdb/node-bindings-linux-x64
run: pnpm publish ${{ inputs.publish_dry_run && '--dry-run' || '' }}

macos:
name: Mac OS X
Expand Down

0 comments on commit 2849b0a

Please sign in to comment.