ci macos: upload dmg artifact
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Mac OS build
|
name: Mac OS build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- push
|
push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -43,3 +43,10 @@ jobs:
|
|||||||
make install
|
make install
|
||||||
sudo make macosx_bundle
|
sudo make macosx_bundle
|
||||||
|
|
||||||
|
ARTIFACT=$(ls | grep .dmg)
|
||||||
|
echo "Writing -${ARTIFACT} to the ARTIFACT environment variable for use in upload-artifact step"
|
||||||
|
echo "::set-env name=ARTIFACT::${ARTIFACT}"
|
||||||
|
- uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: ${{env.ARTIFACT}}
|
||||||
|
path: build/${{env.ARTIFACT}}
|
||||||
|
Reference in New Issue
Block a user