mirror of
https://github.com/Macro-Deck-App/Macro-Deck.git
synced 2026-05-06 21:51:04 +08:00
32 lines
805 B
YAML
32 lines
805 B
YAML
name: Release Created
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
#tests:
|
|
# name: Execute Tests
|
|
# uses: ./.github/workflows/tests.yml
|
|
# secrets: inherit
|
|
|
|
release-windows:
|
|
name: "Build and Push Macro Deck for Windows"
|
|
uses: ./.github/workflows/build-push-windows.yml
|
|
needs: [tests]
|
|
secrets: inherit
|
|
with:
|
|
version: ${{ github.event.release.name }}
|
|
branch: ${{ github.event.release.target_commitish }}
|
|
|
|
notify:
|
|
name: "Notify"
|
|
runs-on: ubuntu-latest
|
|
needs: [test,release-windows]
|
|
steps:
|
|
- uses: Macro-Deck-App/Actions/discord-notify-release@main
|
|
with:
|
|
version: ${{ github.event.release.name }}
|
|
is-beta: ${{ github.event.release.prerelease }}
|
|
webhook-token: ${{ secrets.WEBHOOK_KEY }}
|