mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Remove the 'upload-releases' CI job
It didn't work, and it wouldn't really be more convenient than adding the files to the release manually anyways.
This commit is contained in:
@@ -11,8 +11,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
release:
|
|
||||||
types: [created]
|
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@@ -105,33 +103,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ env.ARCHIVE_NAME }}
|
name: ${{ env.ARCHIVE_NAME }}
|
||||||
path: ${{ env.ARCHIVE_NAME }}
|
path: ${{ env.ARCHIVE_NAME }}
|
||||||
|
|
||||||
upload-releases:
|
|
||||||
name: Upload the created artifacts to the releases page
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: [build-bionic, build-focal]
|
|
||||||
if: ${{ github.event_name == 'release' }}
|
|
||||||
steps:
|
|
||||||
# They don't allow you to specify multiple file names for these actions
|
|
||||||
- uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: ${{ needs.build-bionic.outputs.artifact-name }}
|
|
||||||
- uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: ${{ needs.build-focal.outputs.artifact-name }}
|
|
||||||
- uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ github.event.release.upload_url }}
|
|
||||||
asset_path: ./${{ needs.build-bionic.outputs.artifact-name }}
|
|
||||||
asset_name: $${{ needs.build-bionic.outputs.artifact-name }}
|
|
||||||
asset_content_type: application/x-compressed-tar
|
|
||||||
- uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ github.event.release.upload_url }}
|
|
||||||
asset_path: ./${{ needs.build-focal.outputs.artifact-name }}
|
|
||||||
asset_name: $${{ needs.build-focal.outputs.artifact-name }}
|
|
||||||
asset_content_type: application/x-compressed-tar
|
|
||||||
|
|||||||
Reference in New Issue
Block a user