-
-
Notifications
You must be signed in to change notification settings - Fork 39
30 lines (28 loc) · 1.19 KB
/
tweet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Tweet Releases"
on:
release:
types:
- published
workflow_dispatch:
jobs:
tweet:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Get Release Tag"
id: tags
run: |
echo "release_tag=$(curl https://api.github.com/repos/Aiko-IT-Systems/DisCatSharp/releases/latest | jq -r '.tag_name')" >> $GITHUB_OUTPUT
- name: Tweet release
uses: Lulalaby/[email protected]
with:
status: |
DisCatSharp ${{ steps.tags.outputs.release_tag }} is here!
Checkout our GitHub Page for the changelog regarding ${{ steps.tags.outputs.release_tag }}
Release: github.com/Aiko-IT-Systems/DisCatSharp/releases/tag/${{ steps.tags.outputs.release_tag }}
env:
CONSUMER_API_KEY: ${{ secrets.DCS_CONSUMER_KEY }}
CONSUMER_API_SECRET_KEY: ${{ secrets.DCS_CONSUMER_SECRET }}
ACCESS_TOKEN: ${{ secrets.DCS_ACCESS_TOKEN_KEY }}
ACCESS_TOKEN_SECRET: ${{ secrets.DCS_ACCESS_TOKEN_SECRET }}