Skip to content

Commit

Permalink
Merge branch 'LoopKit:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderRemote20 authored Jun 18, 2024
2 parents 8576852 + 96772eb commit 6b83b3e
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 21 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/add_identifiers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:

identifiers:
needs: secrets
runs-on: macos-12
runs-on: macos-14
steps:
# Uncomment to manually select latest Xcode if needed
#- name: Select Latest Xcode
# run: "sudo xcode-select --switch /Applications/Xcode_13.0.app/Contents/Developer"

# Checks-out the repo
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Patch Fastlane Match to not print tables
- name: Patch Match Tables
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"


# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Create or update identifiers for app
- name: Fastlane Provision
run: fastlane identifiers
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/build_loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:

build:
needs: secrets
runs-on: macos-12
runs-on: macos-14
steps:
# Uncomment to manually select latest Xcode if needed
- name: Select Latest Xcode
run: "sudo xcode-select --switch /Applications/Xcode_14.1.app/Contents/Developer"
run: "sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer"

# Checks-out the repo
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -65,6 +65,10 @@ jobs:
- name: Patch Match Tables
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Build signed Loop IPA file
- name: Fastlane Build & Archive
run: fastlane build_loop
Expand All @@ -89,7 +93,7 @@ jobs:

# Upload IPA and Symbols
- name: Upload IPA and Symbol artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/create_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:

certificates:
needs: secrets
runs-on: macos-12
runs-on: macos-14
steps:
# Uncomment to manually select latest Xcode if needed
#- name: Select Latest Xcode
# run: "sudo xcode-select --switch /Applications/Xcode_13.0.app/Contents/Developer"

# Checks-out the repo
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Patch Fastlane Match to not print tables
- name: Patch Match Tables
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d"


# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Create or update certificates for app
- name: Create Certificates
run: fastlane certs
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/validate_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ on: [workflow_call, workflow_dispatch]

jobs:
validate:
runs-on: macos-12
runs-on: macos-14
steps:
# Checks-out the repo
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Validates the repo secrets
- name: Validate Secrets
Expand Down

0 comments on commit 6b83b3e

Please sign in to comment.