mirror of
https://github.com/jwinterm/grim.git
synced 2026-10-17 14:21:24 +02:00
34 lines
932 B
YAML
34 lines
932 B
YAML
name: Test build
|
|
|
|
on:
|
|
push:
|
|
tags-ignore:
|
|
- "*"
|
|
branches-ignore:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
- name: Build
|
|
run: cargo build --release
|
|
- name: Telegram Notify Channel
|
|
if: always()
|
|
uses: actions/telegram-notifier@ardocrat
|
|
with:
|
|
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
chat_id: ${{ secrets.TELEGRAM_CHANNEL_ID }}
|
|
status: ${{ job.status }}
|
|
notify_fields: "actor,repository,workflow,branch,commit"
|
|
- name: Telegram Notify Group
|
|
if: always()
|
|
uses: actions/telegram-notifier@ardocrat
|
|
with:
|
|
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
chat_id: ${{ secrets.TELEGRAM_GROUP_ID }}
|
|
status: ${{ job.status }}
|
|
notify_fields: "actor,repository,workflow,branch,commit" |