aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/bun-mac-aarch64.yml18
1 files changed, 12 insertions, 6 deletions
diff --git a/.github/workflows/bun-mac-aarch64.yml b/.github/workflows/bun-mac-aarch64.yml
index 49db77140..6091a207c 100644
--- a/.github/workflows/bun-mac-aarch64.yml
+++ b/.github/workflows/bun-mac-aarch64.yml
@@ -323,10 +323,16 @@ jobs:
with:
name: ${{matrix.tag}}
path: ${{runner.temp}}/release/${{matrix.tag}}.zip
- - name: Upload as Canary
+ - name: Release
+ id: release
+ uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/main'
- run: |
-
- echo $GITHUB_TOKEN | gh auth login --with-token
-
- gh release upload canary ${{runner.temp}}/release/bun*.zip --clobber --repo $GITHUB_REPOSITORY
+ with:
+ prerelease: true
+ generate_release_notes: true
+ body: "This is the canary release of Bun that corresponds to the commit [${{ github.sha }}]"
+ name: "Canary (${{github.sha}})"
+ tag_name: "canary"
+ files: |
+ ${{runner.temp}}/release/bun-${{matrix.tag}}.zip
+ ${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip