Skip to content

Commit

Permalink
publish-release workflow: Bugfix in Upload Github Release artifacts
Browse files Browse the repository at this point in the history
Install npm prebuild before trying to use it.
  • Loading branch information
amtep committed Aug 9, 2022
1 parent 8a3e7d7 commit c2f5f63
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
workflow_conclusion: completed
github_token: ${{ secrets.REALM_CI_PAT }}

- name: Move prebuild artifacts
run: |
mv ./realm-js-prebuilds/prebuilds .
- name: Read version
id: get-version
run: |
Expand Down Expand Up @@ -97,7 +101,9 @@ jobs:
prerelease: ${{ steps.get-version.outputs.prerelease }}

- name: Upload Github Release artifacts
run: npm prebuild --upload ${{ secrets.GITHUB_TOKEN }}
run: |
npm install -g prebuild
prebuild --upload-all ${{ secrets.GITHUB_TOKEN }} --verbose
- name: 'Post to #realm-releases'
uses: realm/ci-actions/release-to-slack@v3
Expand Down

0 comments on commit c2f5f63

Please sign in to comment.