Skip to content

Commit

Permalink
ci: fix artefact upload if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 18, 2024
1 parent d931980 commit d241f40
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
- uses: actions/checkout@v3
# only if ${{ steps.release.outputs.release_created }} :
- name: Use Node.js 16.x
- name: Use Node.js 21.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 21.x
cache: 'npm'
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
Expand All @@ -34,6 +34,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./dist/nighwave-plaza_${{ steps.release.outputs.tag_name }}_linux.AppImage
# end if


0 comments on commit d241f40

Please sign in to comment.