From 1afd6f859dd9f3d0a1ea6ae7de8abef9463bca77 Mon Sep 17 00:00:00 2001 From: Joseph Lyons Date: Thu, 2 Feb 2023 13:38:25 -0500 Subject: [PATCH] Fix discourse release action Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com> --- .github/workflows/release_actions.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_actions.yml b/.github/workflows/release_actions.yml index a5949127f5..74a96d1a15 100644 --- a/.github/workflows/release_actions.yml +++ b/.github/workflows/release_actions.yml @@ -22,14 +22,19 @@ jobs: ${{ github.event.release.body }} ``` discourse_release: + if: ${{ ! github.event.release.prerelease }} runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - name: Install Node uses: actions/setup-node@v2 - if: ${{ ! github.event.release.prerelease }} with: - node-version: '16' - - run: script/discourse_release ${{ secrets.DISCOURSE_RELEASES_API_KEY }} ${{ github.event.release.tag_name }} ${{ github.event.release.body }} + node-version: "19" + - run: > + node "./script/discourse_release" + ${{ secrets.DISCOURSE_RELEASES_API_KEY }} + ${{ github.event.release.tag_name }} + ${{ github.event.release.body }} mixpanel_release: runs-on: ubuntu-latest steps: