|
|
|
@ -29,7 +29,7 @@ jobs:
|
|
|
|
|
- name: Print version
|
|
|
|
|
run: echo "${{ steps.bump_version.outputs.ytdlp_version }}"
|
|
|
|
|
- name: Run Make
|
|
|
|
|
run: make
|
|
|
|
|
run: make all tar
|
|
|
|
|
- name: Create Release
|
|
|
|
|
id: create_release
|
|
|
|
|
uses: actions/create-release@v1
|
|
|
|
@ -53,6 +53,15 @@ jobs:
|
|
|
|
|
asset_path: ./yt-dlp
|
|
|
|
|
asset_name: yt-dlp
|
|
|
|
|
asset_content_type: application/octet-stream
|
|
|
|
|
- name: Upload Source tar
|
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
with:
|
|
|
|
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
|
|
|
asset_path: ./yt-dlp.tar.gz
|
|
|
|
|
asset_name: yt-dlp.tar.gz
|
|
|
|
|
asset_content_type: application/gzip
|
|
|
|
|
- name: Get SHA2-256SUMS for yt-dlp
|
|
|
|
|
id: sha256_file
|
|
|
|
|
run: echo "::set-output name=sha256_unix::$(sha256sum yt-dlp | awk '{print $1}')"
|
|
|
|
|