Skip to content

Commit

Permalink
Changing release action
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanth-descript committed Jun 11, 2024
1 parent bd5e6ac commit 54bd6f9
Showing 1 changed file with 29 additions and 229 deletions.
258 changes: 29 additions & 229 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,234 +20,34 @@ jobs:

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-darwin-x64
asset_name: ffmpeg-darwin-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-darwin-x64
asset_name: ffprobe-darwin-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/darwin-x64.README
asset_name: darwin-x64.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-linux-arm
asset_name: ffmpeg-linux-arm
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-darwin-arm64
asset_name: ffmpeg-darwin-arm64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-darwin-arm64
asset_name: ffprobe-darwin-arm64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/darwin-arm64.README
asset_name: darwin-arm64.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-arm
asset_name: ffprobe-linux-arm
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-arm.README
asset_name: linux-arm.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-arm.LICENSE
asset_name: linux-arm.LICENSE
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-linux-arm64
asset_name: ffmpeg-linux-arm64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-arm64
asset_name: ffprobe-linux-arm64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-arm64.README
asset_name: linux-arm64.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-arm64.LICENSE
asset_name: linux-arm64.LICENSE
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-linux-ia32
asset_name: ffmpeg-linux-ia32
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-ia32
asset_name: ffprobe-linux-ia32
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-ia32.README
asset_name: linux-ia32.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-ia32.LICENSE
asset_name: linux-ia32.LICENSE
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-linux-x64
asset_name: ffmpeg-linux-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-linux-x64
asset_name: ffprobe-linux-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-x64.README
asset_name: linux-x64.README
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/linux-x64.LICENSE
asset_name: linux-x64.LICENSE
asset_content_type: text/plain

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffmpeg-win32-x64
asset_name: ffmpeg-win32-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/ffprobe-win32-x64
asset_name: ffprobe-win32-x64
asset_content_type: application/octet-stream

- uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/win32-x64.LICENSE
asset_name: win32-x64.LICENSE
asset_content_type: text/plain
name: Release ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
files: |
bin/darwin-arm64.README
bin/darwin-x64.README
bin/ffmpeg-darwin-arm64
bin/ffmpeg-darwin-x64
bin/ffmpeg-linux-arm
bin/ffmpeg-linux-arm64
bin/ffmpeg-linux-ia32
bin/ffmpeg-linux-x64
bin/ffmpeg-win32-x64
bin/ffprobe-darwin-arm64
bin/ffprobe-darwin-x64
bin/ffprobe-linux-arm
bin/ffprobe-linux-arm64
bin/ffprobe-linux-ia32
bin/ffprobe-linux-x64
bin/ffprobe-win32-x64
bin/linux-arm.LICENSE
bin/linux-arm.README
bin/linux-arm64.LICENSE
bin/linux-arm64.README
bin/linux-ia32.LICENSE
bin/linux-ia32.README
bin/linux-x64.LICENSE
bin/linux-x64.README
bin/win32-x64.LICENSE

0 comments on commit 54bd6f9

Please sign in to comment.