From 341278f3d7e34220bb4410f8f95a3faa4a83f3af Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Wed, 23 Sep 2020 01:26:39 +0200 Subject: [PATCH] Add nightly upload for Linux (GCC build only) --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f3ff881d..0041f5fd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,21 @@ jobs: name: ${{ steps.package.outputs.artifact }} path: build/Olive*.AppImage + - name: Upload Packages to Nightly Page + working-directory: build + env: + GH_AUTH_KEY: ${{ secrets.GH_AUTH_KEY }} + PKGNAME: ${{ steps.package.outputs.pkgname }} + if: github.event_name == 'push' && matrix.cc-compiler == 'gcc' + run: | + curl -X POST \ + -F file="@$PKGNAME" \ + -F key="$GH_AUTH_KEY" \ + -F hash="$GITHUB_SHA" \ + -F time="$(git show -s --format=%ct)" \ + -F comment="$(git show -s --format=%B)" \ + https://olivevideoeditor.org/dl/push.php + windows: strategy: matrix: