1
0
Fork 0
php-sqlcipher/.forgejo/workflows/8.4.yml
Miguel Jacq 35806f9853
Some checks failed
CI / build-deb (push) Failing after 32s
CI
2025-12-09 15:55:45 +11:00

32 lines
840 B
YAML

name: CI
on:
push:
jobs:
build-deb:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./
with:
php-version: '8.4'
sqlcipher-version: '4.12.0'
tz: 'UTC'
- name: Notify on failure
if: ${{ failure() }}
env:
WEBHOOK_URL: ${{ secrets.NODERED_WEBHOOK_URL }}
REPOSITORY: ${{ forgejo.repository }}
RUN_NUMBER: ${{ forgejo.run_number }}
SERVER_URL: ${{ forgejo.server_url }}
run: |
curl -X POST \
-H "Content-Type: application/json" \
-d "{\"repository\":\"$REPOSITORY\",\"run_number\":\"$RUN_NUMBER\",\"status\":\"failure\",\"url\":\"$SERVER_URL/$REPOSITORY/actions/runs/$RUN_NUMBER\"}" \
"$WEBHOOK_URL"