Skip to content

Commit dd8adbd

Browse files
committed
. e Run build every month, and use macos-latest with default Xcode
1 parent c2c2c22 commit dd8adbd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/sampleApp.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Sample app
22

33
on:
44
workflow_dispatch:
5+
schedule:
6+
# each 5th day of month
7+
- cron: "0 0 5 * *"
58
push:
69
branches: [ main ]
710
pull_request:
@@ -14,13 +17,11 @@ concurrency:
1417
jobs:
1518
build:
1619
name: Build and test
17-
runs-on: macos-14
20+
runs-on: macos-latest
1821
steps:
1922
- uses: actions/checkout@v4
2023
- name: List available Xcode versions
2124
run: ls /Applications | grep Xcode
22-
- name: Set up Xcode version
23-
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
2425
- name: Show current version of Xcode
2526
run: xcodebuild -version
2627
- name: Run tests

0 commit comments

Comments
 (0)