1212 type : string
1313 repository_dispatch :
1414 types : [npm-published]
15+ push :
16+ branches :
17+ - auggie-bun-compile-workflow
1518
1619jobs :
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 : |
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 :
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