Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Format YAML

Joseph T. Lyons971563fd4896
diff --git a/.github/workflows/release_actions.yml b/.github/workflows/release_actions.yml
index a72abf300d4..c1d2457ed42 100644
--- a/.github/workflows/release_actions.yml
+++ b/.github/workflows/release_actions.yml
@@ -6,27 +6,27 @@ jobs:
discord_release:
runs-on: ubuntu-latest
steps:
- - name: Get release URL
- id: get-release-url
- run: |
- if [ "${{ github.event.release.prerelease }}" == "true" ]; then
- URL="https://zed.dev/releases/preview/latest"
- else
- URL="https://zed.dev/releases/stable/latest"
- fi
- echo "::set-output name=URL::$URL"
- - name: Get content
- uses: 2428392/[email protected]
- id: get-content
- with:
- stringToTruncate: |
- 📣 Zed [${{ github.event.release.tag_name }}](${{ steps.get-release-url.outputs.URL }}) was just released!
+ - name: Get release URL
+ id: get-release-url
+ run: |
+ if [ "${{ github.event.release.prerelease }}" == "true" ]; then
+ URL="https://zed.dev/releases/preview/latest"
+ else
+ URL="https://zed.dev/releases/stable/latest"
+ fi
+ echo "::set-output name=URL::$URL"
+ - name: Get content
+ uses: 2428392/[email protected]
+ id: get-content
+ with:
+ stringToTruncate: |
+ 📣 Zed [${{ github.event.release.tag_name }}](${{ steps.get-release-url.outputs.URL }}) was just released!
- ${{ github.event.release.body }}
- maxLength: 2000
- truncationSymbol: "..."
- - name: Discord Webhook Action
- uses: tsickert/[email protected]
- with:
- webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
- content: ${{ steps.get-content.outputs.string }}
+ ${{ github.event.release.body }}
+ maxLength: 2000
+ truncationSymbol: "..."
+ - name: Discord Webhook Action
+ uses: tsickert/[email protected]
+ with:
+ webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
+ content: ${{ steps.get-content.outputs.string }}