Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/add_identifiers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
identifiers:
name: Add Identifiers
needs: validate
runs-on: macos-15
runs-on: macos-26
steps:
# Checks-out the repo
- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@v5

# Patch Fastlane Match to not print tables
- name: Patch Match Tables
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build_loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
if: |
steps.workflow-permission.outputs.has_permission == 'true' &&
(vars.SCHEDULED_BUILD != 'false' || vars.SCHEDULED_SYNC != 'false')
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
token: ${{ secrets.GH_PAT }}

Expand All @@ -100,7 +100,7 @@ jobs:
steps.workflow-permission.outputs.has_permission == 'true' &&
vars.SCHEDULED_SYNC != 'false' && github.repository_owner != 'LoopKit'
id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.1
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.2
with:
target_sync_branch: ${{ env.TARGET_BRANCH }}
shallow_since: 6 months ago
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
build:
name: Build
needs: [check_certs, check_status]
runs-on: macos-15
runs-on: macos-26
permissions:
contents: write
if:
Expand All @@ -175,10 +175,10 @@ jobs:
(vars.SCHEDULED_SYNC != 'false' && needs.check_status.outputs.NEW_COMMITS == 'true' )
steps:
- name: Select Xcode version
run: "sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer"
run: "sudo xcode-select --switch /Applications/Xcode_26.2.app/Contents/Developer"

- name: Checkout Repo for building
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
token: ${{ secrets.GH_PAT }}
submodules: recursive
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
# Upload Build artifacts
- name: Upload build log, IPA and Symbol artifacts
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: build-artifacts
path: |
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/create_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
create_certs:
name: Certificates
needs: validate
runs-on: macos-15
runs-on: macos-26
outputs:
new_certificate_needed: ${{ steps.set_output.outputs.new_certificate_needed }}

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

# Patch Fastlane Match to not print tables
- name: Patch Match Tables
Expand Down Expand Up @@ -63,7 +63,8 @@ jobs:
id: set_output
run: |
CERT_STATUS_FILE="${{ github.workspace }}/fastlane/new_certificate_needed.txt"
ENABLE_NUKE_CERTS=${{ vars.ENABLE_NUKE_CERTS }}
ENABLE_NUKE_CERTS=$(echo "${{ vars.ENABLE_NUKE_CERTS }}" | tr '[:upper:]' '[:lower:]')
FORCE_NUKE_CERTS=$(echo "${{ vars.FORCE_NUKE_CERTS }}" | tr '[:upper:]' '[:lower:]')

if [ -f "$CERT_STATUS_FILE" ]; then
CERT_STATUS=$(cat "$CERT_STATUS_FILE" | tr -d '\n' | tr -d '\r') # Read file content and strip newlines
Expand All @@ -82,22 +83,22 @@ jobs:
echo "::error::❌ No valid distribution certificate found. Automated renewal of certificates was skipped because the repository variable ENABLE_NUKE_CERTS is not set to 'true'."
exit 1
fi
# Check if vars.FORCE_NUKE_CERTS is not set to true
if [ vars.FORCE_NUKE_CERTS = "true" ]; then
# Check if FORCE_NUKE_CERTS is set to true
if [ "$FORCE_NUKE_CERTS" = "true" ]; then
echo "::warning::‼️ Nuking of certificates was forced because the repository variable FORCE_NUKE_CERTS is set to 'true'."
fi
# Nuke Certs if needed, and if the repository variable ENABLE_NUKE_CERTS is set to 'true', or if FORCE_NUKE_CERTS is set to 'true', which will always force certs to be nuked
nuke_certs:
name: Nuke certificates
needs: [validate, create_certs]
runs-on: macos-15
runs-on: macos-26
if: ${{ (needs.create_certs.outputs.new_certificate_needed == 'true' && vars.ENABLE_NUKE_CERTS == 'true') || vars.FORCE_NUKE_CERTS == 'true' }}
steps:
- name: Output from step id 'check_certs'
run: echo "new_certificate_needed=${{ needs.create_certs.outputs.new_certificate_needed }}"

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install dependencies
run: bundle install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
validate-fastlane-secrets:
name: Fastlane
needs: [validate-access-token]
runs-on: macos-15
runs-on: macos-26
env:
GH_PAT: ${{ secrets.GH_PAT }}
GH_TOKEN: ${{ secrets.GH_PAT }}
Expand All @@ -116,7 +116,7 @@ jobs:
TEAMID: ${{ secrets.TEAMID }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install Project Dependencies
run: bundle install
Expand Down
2 changes: 1 addition & 1 deletion VersionOverride.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

// Version [for DIY Loop]
// configure the version number in LoopWorkspace
LOOP_MARKETING_VERSION = 3.13.0
LOOP_MARKETING_VERSION = 3.13.1
CURRENT_PROJECT_VERSION = 57