Skip to content

Commit

Permalink
remove arm64 tests, add publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
jraymakers committed Dec 15, 2024
1 parent 4ea9ffc commit 1f4e198
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/DuckDBNodeBindingsAndAPI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ on:
type: boolean
required: true
default: false
publish_linux_arm64:
description: 'Publish Bindings for Linux arm64'
type: boolean
required: true
default: false
macos_arm64:
description: 'Run on Mac OS X arm64'
type: boolean
Expand Down Expand Up @@ -141,9 +146,16 @@ jobs:
working-directory: bindings
run: pnpm run build

- name: Bindings - Test
working-directory: bindings
run: pnpm test
- name: Git Status
if: ${{ inputs.publish_linux_arm64 }}
run: git status

- name: Publish - Bindings - Linux arm64
if: ${{ inputs.publish_linux_arm64 }}
working-directory: bindings/pkgs/@duckdb/node-bindings-linux-arm64
run: pnpm publish ${{ inputs.publish_dry_run && '--dry-run' || '' }} --publish-branch ${{ github.ref_name }} --access public
env:
NPM_AUTH_TOKEN: ${{ secrets.DUCKDB_NPM_TOKEN }}

macos_arm64:
name: Mac OS X arm64
Expand Down

0 comments on commit 1f4e198

Please sign in to comment.