ci: pass auth key to command

This commit is contained in:
itsmattkc
2020-09-16 23:40:26 +10:00
committed by GitHub
parent 80045e87e4
commit 007b9f287c
+6
View File
@@ -111,16 +111,22 @@ jobs:
- name: Export Crashpad Symbols and Upload To Server
working-directory: ${{runner.workspace}}/build
shell: cmd
env:
GH_AUTH_KEY: ${{secrets.GH_AUTH_KEY}}
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 -X POST -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
env:
GH_AUTH_KEY: ${{secrets.GH_AUTH_KEY}}
run: curl -X POST -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
env:
GH_AUTH_KEY: ${{secrets.GH_AUTH_KEY}}
run: curl -X POST -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