Skip to content

Commit

Permalink
test build
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Apr 22, 2024
1 parent 5280fe1 commit 1f018b7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build barista

on:
workflow_dispatch:
workflow_call:


jobs:
build:
name: Build
runs-on: macOS
steps:
- name: Checkout repository
if: matrix.info.container == ''
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 1

- name: Build
run: xcodebuild -scheme barista -configuration Pre -derivedDataPath "$RUNNER_TEMP/DerivedData" -archivePath "$RUNNER_TEMP/CodeEdit.xcarchive" -skipPackagePluginValidation archive

- name: Create DMG
run: |
create-dmg \
--volname "barista" \
"$RUNNER_TEMP/CodeEdit.dmg" \
"$RUNNER_TEMP/CodeEdit.xcarchive/Products/Applications/"

0 comments on commit 1f018b7

Please sign in to comment.