Update GitHub Action.
This commit is contained in:
parent
1e6d0e16f0
commit
a60d6daed8
1 changed files with 7 additions and 4 deletions
11
.github/workflows/debug.yml
vendored
11
.github/workflows/debug.yml
vendored
|
@ -12,6 +12,8 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Cog for Intel
|
name: Build Cog for Intel
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
env:
|
||||||
|
XCODE_DERIVEDDATA_PATH: build
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -32,9 +34,10 @@ jobs:
|
||||||
- name: Run xcodebuild
|
- name: Run xcodebuild
|
||||||
run: >
|
run: >
|
||||||
xcodebuild
|
xcodebuild
|
||||||
|
-quiet
|
||||||
-scheme Cog
|
-scheme Cog
|
||||||
-configuration Debug
|
-configuration Debug
|
||||||
-derivedDataPath output
|
-derivedDataPath $XCODE_DERIVEDDATA_PATH
|
||||||
build
|
build
|
||||||
- name: Package archive
|
- name: Package archive
|
||||||
run: >
|
run: >
|
||||||
|
@ -44,10 +47,10 @@ jobs:
|
||||||
--sequesterRsrc
|
--sequesterRsrc
|
||||||
--keepParent
|
--keepParent
|
||||||
--zlibCompressionLevel 9
|
--zlibCompressionLevel 9
|
||||||
output/Build/Products/Debug/Cog.app
|
$XCODE_DERIVEDDATA_PATH/Build/Products/Debug/Cog.app
|
||||||
output/Cog.zip
|
$XCODE_DERIVEDDATA_PATH/Cog.zip
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Cog
|
name: Cog
|
||||||
path: output/Cog.zip
|
path: $XCODE_DERIVEDDATA_PATH/Cog.zip
|
||||||
|
|
Loading…
Reference in a new issue