Build/release a nodejs package in tagged releases

Related issue:
- https://github.com/cliqz-oss/adblocker/pull/2075
This commit is contained in:
Raymond Hill 2021-07-28 19:43:11 -04:00
parent 09db8803c5
commit d7cd6d72f6
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,7 @@ jobs:
tools/make-chromium.sh ${{ steps.release_info.outputs.VERSION }}
tools/make-firefox.sh ${{ steps.release_info.outputs.VERSION }}
tools/make-thunderbird.sh ${{ steps.release_info.outputs.VERSION }}
tools/make-nodejs.sh ${{ steps.release_info.outputs.VERSION }}
- name: Upload Chromium package
uses: actions/upload-release-asset@v1
env:
@ -68,3 +69,12 @@ jobs:
asset_path: dist/build/uBlock0_${{ steps.release_info.outputs.VERSION }}.thunderbird.xpi
asset_name: uBlock0_${{ steps.release_info.outputs.VERSION }}.thunderbird.xpi
asset_content_type: application/octet-stream
- name: Upload NodeJS package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/build/uBlock0_${{ steps.release_info.outputs.VERSION }}.nodejs.zip
asset_name: uBlock0_${{ steps.release_info.outputs.VERSION }}.nodejs.zip
asset_content_type: application/octet-stream