mirror of https://github.com/aria2/aria2
Update build.yml
parent
d6cd440532
commit
0bf3c58f27
|
@ -74,3 +74,12 @@ jobs:
|
||||||
- name: Build aria2
|
- name: Build aria2
|
||||||
run: |
|
run: |
|
||||||
make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)" check
|
make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)" check
|
||||||
|
- name: Upload Release Asset
|
||||||
|
- uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./${{ secrets.ReleaseZipName }}.zip
|
||||||
|
asset_name: ${{ secrets.ReleaseZipName }}.zip
|
||||||
|
asset_content_type: application/zip
|
||||||
|
|
Loading…
Reference in New Issue