Skip to content

Commit 6b0aa3d

Browse files
debug thing
1 parent 6baf503 commit 6b0aa3d

File tree

3 files changed

+61
-53
lines changed

3 files changed

+61
-53
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish NPM (Dispatch)
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_tag:
7+
type: string
8+
required: true
9+
description: Release Tag to Publish
10+
11+
jobs:
12+
publish_npm:
13+
uses: ./.github/workflows/publish.reusable.yml
14+
with:
15+
release-tag: ${{ github.event.inputs.release_tag }}
16+
secrets:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Publish to NPM & Brew
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
release-tag:
7+
type: string
8+
required: true
9+
secrets:
10+
github_token:
11+
required: true
12+
13+
jobs:
14+
publish:
15+
name: Publish All the Things
16+
runs-on: ubuntu-latest
17+
# todo: add secrets
18+
permissions:
19+
contents: write
20+
# ? what's this?! required for executing the node script?
21+
id-token: write
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- name: Install Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: lts
29+
registry-url: "https://registry.npmjs.org"
30+
31+
- name: Generate Packages
32+
run: node packages/@pglt/pglt/scripts/generate-packages.mjs
33+
34+
- name: DEBUG - log assets
35+
run: |
36+
{
37+
ls packages/@pglt/pglt_aarch64_pc-windows-msvc
38+
cat packages/@pglt/pglt_aarch64_pc-windows-msvc/package.json
39+
}
40+
41+
# - name: Publish npm packages as latest
42+
# run: for package in packages/@biomejs/*; do if [ $package != "packages/@biomejs/js-api" ]; then npm publish $package --tag latest --access public --provenance; fi; done
43+
# env:
44+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/publish.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)