Files
grim/.forgejo/workflows/build.yaml
T

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"