From 6e7fa541f57f71af625b4a80799977dd17409d3f Mon Sep 17 00:00:00 2001 From: oznu Date: Tue, 18 Feb 2020 20:31:16 +1100 Subject: [PATCH] tar.gz assets --- .github/workflows/main.yml | 10 ++++++++-- .gitignore | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e116010..c9103c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,8 +97,14 @@ jobs: mkdir -p build cd build && SKIPINSTALL=yes VERBOSE=yes ../build-ffmpeg --build - - name: Upload Assets + - name: Prepare Asset + run: | + mkdir -p package/usr/local/bin/ + cp build/workspace/bin/ffmpeg package/usr/local/bin/ffmpeg + tar -C package -zcvf ffmpeg-${{ matrix.name }}.tar.gz . + + - name: Upload Asset uses: actions/upload-artifact@v1 with: name: ffmpeg-${{ matrix.name }} - path: build/workspace/bin/ffmpeg + path: ffmpeg-${{ matrix.name }}.tar.gz diff --git a/.gitignore b/.gitignore index cbcca97..f48096f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ workspace -build \ No newline at end of file +build +package \ No newline at end of file