Skip to content

Merge branch 'master' into jlarabie/view-primary-key-cpp #100

Merge branch 'master' into jlarabie/view-primary-key-cpp

Merge branch 'master' into jlarabie/view-primary-key-cpp #100

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/tag-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tag-release.yml

Invalid workflow file

(Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
release:
types: [published]
permissions: {}
jobs:
announce-release:
name: Announce GitHub release
runs-on: ubuntu-latest
needs: on-release
if: always()
steps:
- name: Send Discord notification
run: |
set -euo pipefail
message="SpacetimeDB GitHub release published: [${{ github.event.release.name }}](<${{ github.event.release.html_url }}>)"
data="$(jq --null-input --arg msg "$message" '.content=$msg')"
curl -X POST -H 'Content-Type: application/json' -d "$data" "${{ secrets.DISCORD_WEBHOOK_RELEASE_ANNOUNCE_URL }}"