2021-10-18 04:16:34 +00:00
|
|
|
name: 📢 Announce Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
announce:
|
2021-11-02 00:39:00 +00:00
|
|
|
if: github.repository == 'PCSX2/pcsx2'
|
2021-10-18 04:16:34 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-07 04:02:40 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-18 04:16:34 +00:00
|
|
|
|
2022-02-28 04:02:49 +00:00
|
|
|
- uses: actions/setup-node@v3
|
2021-10-18 04:16:34 +00:00
|
|
|
with:
|
2021-10-19 00:42:48 +00:00
|
|
|
node-version: 16
|
2021-10-18 04:16:34 +00:00
|
|
|
|
|
|
|
- name: Announce Release
|
|
|
|
env:
|
|
|
|
DISCORD_BUILD_WEBHOOK: ${{ secrets.DISCORD_BUILD_WEBHOOK }}
|
|
|
|
run: |
|
|
|
|
cd ./.github/workflows/scripts/releases/announce-release
|
|
|
|
npm ci
|
|
|
|
node index.js
|