From 0bd75cc3c524ca4b7a778da66ee11e5fd8087be2 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 21 Apr 2024 23:36:57 -0700 Subject: [PATCH] Update upload.yml --- .github/workflows/upload.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index ba5065646a..1041047f64 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -57,3 +57,26 @@ jobs: aws_bucket: ${{ secrets.AWS_BUCKET }} source_dir: bun destination_dir: releases/canary + - name: Announce on Discord + uses: sarisia/actions-status-discord@v1 + with: + webhook: ${{ secrets.GITHUB_DISCORD_WEBHOOK }} + nodetail: true + color: "#1F6FEB" + title: "Bun Canary #${{ github.sha }} is available!" + description: | + Bun Canary [#${{ github.sha }}](https://github.com/oven-sh/bun/commit/${{ github.sha }}) has been released! + + To upgrade to the canary release, run: + ```sh + bun upgrade --canary + ``` + + We do not recommend using canary releases of Bun in production. + - name: Announce in other Discord + uses: sarisia/actions-status-discord@v1 + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }} + nodetail: true + title: "Bun ##${{ github.sha }} (canary) uploaded" + description: "A new canary build of Bun has been uploaded!"