mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
941f4097fe
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
33 lines
1011 B
YAML
33 lines
1011 B
YAML
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
discord_release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Discord Webhook Action
|
|
uses: tsickert/discord-webhook@v5.3.0
|
|
with:
|
|
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
|
content: |
|
|
📣 Zed ${{ github.event.release.name }} was just released!
|
|
|
|
Restart your Zed or head to https://zed.dev/releases to grab it.
|
|
|
|
```md
|
|
### Changelog
|
|
|
|
${{ github.event.release.body }}
|
|
```
|
|
amplitude_release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.10.5"
|
|
architecture: "x64"
|
|
cache: "pip"
|
|
- run: pip install -r script/amplitude_release/requirements.txt
|
|
- run: python script/amplitude_release/main.py ${{ github.event.release.tag_name }} ${{ secrets.ZED_AMPLITUDE_API_KEY }} ${{ secrets.ZED_AMPLITUDE_SECRET_KEY }} |