Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Jan 15, 2020
1 parent ecc4c7c commit 1b999a5
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,36 @@ jobs:
- uses: actions/download-artifact@v1
with:
name: ffmpeg-linux-x86_64
path: artifacts/
- uses: actions/download-artifact@v1
with:
name: ffmpeg-linux-i686
path: artifacts/
- uses: actions/download-artifact@v1
with:
name: ffmpeg-windows-x86_64
path: artifacts/
- uses: actions/download-artifact@v1
with:
name: ffmpeg-windows-i686
path: artifacts/
- uses: actions/download-artifact@v1
with:
name: ffmpeg-macos-x86_64
path: artifacts/
- name: Make tarballs
run: |
mkdir artifacts/release/
cd artifacts/
dirs=$(find . -name 'ffmpeg-*' -type d)
for dir in $dirs
do
name=$(basename $dir)
tar cvf release/$name.tar.gz $dir
done
- name: Release
uses: softprops/action-gh-release@v1
with:
files: artifacts/*
files: artifacts/release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1b999a5

Please sign in to comment.