Fix discourse release action
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
This commit is contained in:
parent
d6962d957b
commit
1afd6f859d
1 changed files with 8 additions and 3 deletions
11
.github/workflows/release_actions.yml
vendored
11
.github/workflows/release_actions.yml
vendored
|
@ -22,14 +22,19 @@ jobs:
|
||||||
${{ github.event.release.body }}
|
${{ github.event.release.body }}
|
||||||
```
|
```
|
||||||
discourse_release:
|
discourse_release:
|
||||||
|
if: ${{ ! github.event.release.prerelease }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
if: ${{ ! github.event.release.prerelease }}
|
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: "19"
|
||||||
- run: script/discourse_release ${{ secrets.DISCOURSE_RELEASES_API_KEY }} ${{ github.event.release.tag_name }} ${{ github.event.release.body }}
|
- run: >
|
||||||
|
node "./script/discourse_release"
|
||||||
|
${{ secrets.DISCOURSE_RELEASES_API_KEY }}
|
||||||
|
${{ github.event.release.tag_name }}
|
||||||
|
${{ github.event.release.body }}
|
||||||
mixpanel_release:
|
mixpanel_release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue