DMG upload experiments (#1199)
Summary: Following some advice to add debugging steps from here: https://github.com/skx/github-action-publish-binaries/issues/19 Also adding an alternative upload action as the issue clearly stems from something specific to the cURL version on the Action host. This uses a completely different tool (ghr) for uploading. Pull Request resolved: https://github.com/facebook/flipper/pull/1199 Test Plan: testinprod Reviewed By: jknoxville Differential Revision: D21723887 Pulled By: passy fbshipit-source-id: cbbc9555283a89e3152c602b87d64976e8dbf4f9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dd111076c9
commit
9ab4f37f59
20
.github/workflows/dmg-release.yml
vendored
20
.github/workflows/dmg-release.yml
vendored
@@ -37,10 +37,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: 'Flipper-mac.dmg'
|
name: 'Flipper-mac.dmg'
|
||||||
path: 'Flipper-mac.dmg'
|
path: 'Flipper-mac.dmg'
|
||||||
|
- run: dd if=/dev/zero bs=1024k count=1024 of=1g.dmg
|
||||||
|
- run: dd if=/dev/zero bs=1024k count=10240 of=10g.dmg
|
||||||
- run: ls -la Flipper-mac.dmg
|
- run: ls -la Flipper-mac.dmg
|
||||||
- name: Publish
|
- name: Publish
|
||||||
uses: skx/github-action-publish-binaries@master
|
uses: skx/github-action-publish-binaries@master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
args: 'Flipper-mac.dmg'
|
args: '*.dmg'
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Download
|
||||||
|
uses: actions/download-artifact@v1
|
||||||
|
with:
|
||||||
|
name: 'Flipper-mac.dmg'
|
||||||
|
path: 'Flipper-mac.dmg'
|
||||||
|
- name: GitHub Upload Release Artifacts
|
||||||
|
uses: Roang-zero1/github-upload-release-artifacts-action@v2.1.0
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
args: '*.dmg'
|
||||||
|
|||||||
Reference in New Issue
Block a user