Skip to content

Commit 741590c

Browse files
committed
fix: clean artifact names, re-add push trigger for testing
Agent-Id: agent-94e7274a-0a18-4a87-abb4-57e6efed6532
1 parent 7e74922 commit 741590c

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/bun-compile.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
type: string
1313
repository_dispatch:
1414
types: [npm-published]
15+
push:
16+
branches:
17+
- auggie-bun-compile-workflow
1518

1619
jobs:
1720
build:
@@ -21,20 +24,24 @@ jobs:
2124
include:
2225
- target: bun-darwin-arm64
2326
output: auggie-darwin-arm64
27+
artifact: auggie-darwin-arm64
2428
- target: bun-darwin-x64
2529
output: auggie-darwin-x64
30+
artifact: auggie-darwin-x64
2631
- target: bun-linux-x64
2732
output: auggie-linux-x64
33+
artifact: auggie-linux-x64
2834
- target: bun-windows-x64
2935
output: auggie-windows-x64.exe
36+
artifact: auggie-windows-x64
3037
permissions:
3138
contents: read
3239
steps:
3340
- name: Set up Bun
3441
uses: oven-sh/setup-bun@v2
3542

3643
- name: Install package
37-
run: bun install @augmentcode/auggie@${{ inputs.version || github.event.client_payload.version }}
44+
run: bun install @augmentcode/auggie@${{ inputs.version || github.event.client_payload.version || '0.17.0-prerelease.14' }}
3845

3946
- name: Create entry point
4047
run: |
@@ -46,7 +53,7 @@ jobs:
4653
- name: Upload artifact
4754
uses: actions/upload-artifact@v4
4855
with:
49-
name: auggie-${{ matrix.target }}
56+
name: ${{ matrix.artifact }}
5057
path: ${{ matrix.output }}
5158

5259
release:
@@ -66,8 +73,8 @@ jobs:
6673
GH_TOKEN: ${{ github.token }}
6774
GH_REPO: ${{ github.repository }}
6875
run: |
69-
gh release create "v${{ inputs.version || github.event.client_payload.version }}" \
70-
--title "v${{ inputs.version || github.event.client_payload.version }}" \
76+
gh release create "v${{ inputs.version || github.event.client_payload.version || '0.17.0-prerelease.14' }}" \
77+
--title "v${{ inputs.version || github.event.client_payload.version || '0.17.0-prerelease.14' }}" \
7178
--generate-notes \
7279
artifacts/*
7380

0 commit comments

Comments
 (0)