From f46bc071a6ca02666a1ed8d8b4b10d382ce67ea5 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Wed, 16 Sep 2020 20:26:25 +1000 Subject: [PATCH] ci: attempt to upload builds to nightly page --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01a2c70aa..3c9c6588d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,17 @@ jobs: - name: Export Crashpad Symbols and Upload To Server working-directory: ${{runner.workspace}}/build shell: cmd - run: curl -fLSs --retry 3 https://github.com/google/breakpad/blob/master/src/tools/windows/binaries/dump_syms.exe?raw=true > dump_syms.exe && dump_syms app\olive-editor.pdb > olive-editor.sym && curl -F symfile=@olive-editor.sym -F key=%GH_AUTH_KEY% https://olivevideoeditor.org/crashpad/symbols.php + run: curl -fLSs --retry 3 https://github.com/google/breakpad/blob/master/src/tools/windows/binaries/dump_syms.exe?raw=true > dump_syms.exe && dump_syms app\olive-editor.pdb > olive-editor.sym && curl -F symfile=@olive-editor.sym -F key="%GH_AUTH_KEY%" https://olivevideoeditor.org/crashpad/symbols.php + + - name: Upload Installer to Nightly Page + shell: bash + working-directory: ${{runner.workspace}}/build + run: curl -F file=@$PKGNAME.exe -F key="$GH_AUTH_KEY" -F hash="$GITHUB_SHA" -F time="$(git -C $GITHUB_WORKSPACE show -s --format=%ct)" -F comment="$(git -C $GITHUB_WORKSPACE show -s --format=%B)" https://olivevideoeditor.org/dl/push.php + + - name: Upload Portable to Nightly Page + shell: bash + working-directory: ${{runner.workspace}}/build + run: curl -F file=@$PKGNAME.zip -F key="$GH_AUTH_KEY" -F hash="$GITHUB_SHA" -F time="$(git -C $GITHUB_WORKSPACE show -s --format=%ct)" -F comment="$(git -C $GITHUB_WORKSPACE show -s --format=%B)" https://olivevideoeditor.org/dl/push.php - name: Upload Installer Artifact uses: actions/upload-artifact@v2