aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/bun-mac-aarch64.yml4
-rw-r--r--.github/workflows/bun-mac-x64-baseline.yml18
-rw-r--r--.github/workflows/bun-mac-x64.yml18
3 files changed, 26 insertions, 14 deletions
diff --git a/.github/workflows/bun-mac-aarch64.yml b/.github/workflows/bun-mac-aarch64.yml
index 6091a207c..0dc91b007 100644
--- a/.github/workflows/bun-mac-aarch64.yml
+++ b/.github/workflows/bun-mac-aarch64.yml
@@ -334,5 +334,5 @@ jobs:
name: "Canary (${{github.sha}})"
tag_name: "canary"
files: |
- ${{runner.temp}}/release/bun-${{matrix.tag}}.zip
- ${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip
+ ${{runner.temp}}/release/${{matrix.tag}}.zip
+ ${{runner.temp}}/release/${{matrix.tag}}-profile.zip
diff --git a/.github/workflows/bun-mac-x64-baseline.yml b/.github/workflows/bun-mac-x64-baseline.yml
index 85b23b38f..70bd8763c 100644
--- a/.github/workflows/bun-mac-x64-baseline.yml
+++ b/.github/workflows/bun-mac-x64-baseline.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/${{matrix.tag}}.zip
+ ${{runner.temp}}/release/${{matrix.tag}}-profile.zip
diff --git a/.github/workflows/bun-mac-x64.yml b/.github/workflows/bun-mac-x64.yml
index cac9cfb55..b639d6aec 100644
--- a/.github/workflows/bun-mac-x64.yml
+++ b/.github/workflows/bun-mac-x64.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/${{matrix.tag}}.zip
+ ${{runner.temp}}/release/${{matrix.tag}}-profile.zip