Upload to GitHub first in case remote server not reachable

This commit is contained in:
Simran Spiller
2020-09-23 00:55:31 +02:00
parent 5614c293f3
commit 5b6e6e70ee
+6 -6
View File
@@ -370,6 +370,12 @@ jobs:
run: | run: |
zip -r $PKGNAME.zip Olive.app zip -r $PKGNAME.zip Olive.app
- name: Upload Artifact to GitHub
uses: actions/upload-artifact@v2
with:
name: ${{ env.PKGNAME }}.zip
path: ${{ runner.workspace }}/build/${{ env.PKGNAME }}.zip
- name: Upload Packages to Nightly Page - name: Upload Packages to Nightly Page
shell: bash shell: bash
working-directory: ${{ runner.workspace }}/build working-directory: ${{ runner.workspace }}/build
@@ -384,9 +390,3 @@ jobs:
-F time="$(git -C $GITHUB_WORKSPACE show -s --format=%ct)" \ -F time="$(git -C $GITHUB_WORKSPACE show -s --format=%ct)" \
-F comment="$(git -C $GITHUB_WORKSPACE show -s --format=%B)" \ -F comment="$(git -C $GITHUB_WORKSPACE show -s --format=%B)" \
https://olivevideoeditor.org/dl/push.php https://olivevideoeditor.org/dl/push.php
- name: Upload Artifact to GitHub
uses: actions/upload-artifact@v2
with:
name: ${{ env.PKGNAME }}.zip
path: ${{ runner.workspace }}/build/${{ env.PKGNAME }}.zip