diff --git a/.github/workflows/release_announce.yml b/.github/workflows/release_announce.yml deleted file mode 100644 index 2ab99058f0..0000000000 --- a/.github/workflows/release_announce.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: 📢 Announce Release - -on: - release: - types: [published] - -jobs: - announce: - if: github.repository == 'PCSX2/pcsx2' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: 16 - - - name: Announce Release - env: - DISCORD_BUILD_WEBHOOK: ${{ secrets.DISCORD_BUILD_WEBHOOK }} - run: | - cd ./.github/workflows/scripts/releases/announce-release - npm ci - node index.js diff --git a/.github/workflows/release_cut_new.yml b/.github/workflows/release_cut_new.yml index e8dff0a3ad..87841da100 100644 --- a/.github/workflows/release_cut_new.yml +++ b/.github/workflows/release_cut_new.yml @@ -184,3 +184,15 @@ jobs: TAG_VAL=$(git tag --points-at HEAD) echo "TAG_VAL=${TAG_VAL}" gh release edit ${TAG_VAL} --draft=false --repo PCSX2/pcsx2 + + - uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Announce Release + env: + DISCORD_BUILD_WEBHOOK: ${{ secrets.DISCORD_BUILD_WEBHOOK }} + run: | + cd ./.github/workflows/scripts/releases/announce-release + npm ci + node index.js