Skip to content

Commit

Permalink
build on PR/push
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Apr 22, 2024
1 parent 1f018b7 commit 277db5b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Build barista
on:
workflow_dispatch:
workflow_call:
pull_request:
push:
branches:
- main


jobs:
Expand All @@ -19,10 +23,3 @@ jobs:
- 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 277db5b

Please sign in to comment.