Skip to content

Commit 1b999a5

Browse files
committed
Fix release
1 parent ecc4c7c commit 1b999a5

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,21 +87,36 @@ jobs:
8787
- uses: actions/download-artifact@v1
8888
with:
8989
name: ffmpeg-linux-x86_64
90+
path: artifacts/
9091
- uses: actions/download-artifact@v1
9192
with:
9293
name: ffmpeg-linux-i686
94+
path: artifacts/
9395
- uses: actions/download-artifact@v1
9496
with:
9597
name: ffmpeg-windows-x86_64
98+
path: artifacts/
9699
- uses: actions/download-artifact@v1
97100
with:
98101
name: ffmpeg-windows-i686
102+
path: artifacts/
99103
- uses: actions/download-artifact@v1
100104
with:
101105
name: ffmpeg-macos-x86_64
106+
path: artifacts/
107+
- name: Make tarballs
108+
run: |
109+
mkdir artifacts/release/
110+
cd artifacts/
111+
dirs=$(find . -name 'ffmpeg-*' -type d)
112+
for dir in $dirs
113+
do
114+
name=$(basename $dir)
115+
tar cvf release/$name.tar.gz $dir
116+
done
102117
- name: Release
103118
uses: softprops/action-gh-release@v1
104119
with:
105-
files: artifacts/*
120+
files: artifacts/release/*
106121
env:
107122
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)