|
|
@ -55,12 +55,12 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
gh release create \
|
|
|
|
gh release create \
|
|
|
|
--notes-file ARCHIVE_NOTES \
|
|
|
|
--notes-file ARCHIVE_NOTES \
|
|
|
|
--title "Build ${{ inputs.version }}" \
|
|
|
|
--title "yt-dlp nightly ${{ inputs.version }}" \
|
|
|
|
${{ inputs.version }} \
|
|
|
|
${{ inputs.version }} \
|
|
|
|
artifact/*
|
|
|
|
artifact/*
|
|
|
|
|
|
|
|
|
|
|
|
- name: Prune old nightly release
|
|
|
|
- name: Prune old nightly release
|
|
|
|
if: inputs.nightly
|
|
|
|
if: inputs.nightly && !vars.ARCHIVE_REPO
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ github.token }}
|
|
|
|
GH_TOKEN: ${{ github.token }}
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
@ -71,6 +71,7 @@ jobs:
|
|
|
|
- name: Publish release${{ inputs.nightly && ' (nightly)' || '' }}
|
|
|
|
- name: Publish release${{ inputs.nightly && ' (nightly)' || '' }}
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ github.token }}
|
|
|
|
GH_TOKEN: ${{ github.token }}
|
|
|
|
|
|
|
|
if: (inputs.nightly && !vars.ARCHIVE_REPO) || !inputs.nightly
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
gh release create \
|
|
|
|
gh release create \
|
|
|
|
--notes-file ${{ inputs.nightly && 'PRE' || '' }}RELEASE_NOTES \
|
|
|
|
--notes-file ${{ inputs.nightly && 'PRE' || '' }}RELEASE_NOTES \
|
|
|
|