Просмотр исходного кода

Bump browser build dependencies to Node 20

- use actions/checkout@v4
- use aormsby/Fork-Sync-With-Upstream-action@v3.4.1
- comment out "Select Xcode version" step to use the default Xcode (15.0.1) in macos-13 runner

based on https://github.com/LoopKit/LoopWorkspace/pull/120/files by @dnzxy
bjornoleh 2 лет назад
Родитель
Сommit
e07994ba2a

+ 2 - 2
.github/workflows/add_identifiers.yml

@@ -15,11 +15,11 @@ jobs:
     steps:
     steps:
       # Uncomment to manually select Xcode version if needed
       # Uncomment to manually select Xcode version if needed
       #- name: Select Xcode version
       #- name: Select Xcode version
-      #  run: "sudo xcode-select --switch /Applications/Xcode_14.1.app/Contents/Developer"
+      #  run: "sudo xcode-select --switch /Applications/Xcode_15.0.1.app/Contents/Developer"
       
       
       # Checks-out the repo
       # Checks-out the repo
       - name: Checkout Repo
       - name: Checkout Repo
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         
         
       # Patch Fastlane Match to not print tables
       # Patch Fastlane Match to not print tables
       - name: Patch Match Tables
       - name: Patch Match Tables

+ 9 - 8
.github/workflows/build_iAPS.yml

@@ -98,7 +98,7 @@ jobs:
       if: |
       if: |
         needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
         needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
         (vars.SCHEDULED_BUILD != 'false' || vars.SCHEDULED_SYNC != 'false')
         (vars.SCHEDULED_BUILD != 'false' || vars.SCHEDULED_SYNC != 'false')
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
       with:
         token: ${{ secrets.GH_PAT }}
         token: ${{ secrets.GH_PAT }}
         ref: alive
         ref: alive
@@ -108,7 +108,7 @@ jobs:
         needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
         needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
         vars.SCHEDULED_SYNC != 'false' && github.repository_owner != 'Artificial-Pancreas'
         vars.SCHEDULED_SYNC != 'false' && github.repository_owner != 'Artificial-Pancreas'
       id: sync
       id: sync
-      uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
+      uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.1
       with:
       with:
         target_sync_branch: ${{ env.ALIVE_BRANCH }}
         target_sync_branch: ${{ env.ALIVE_BRANCH }}
         shallow_since: 6 months ago
         shallow_since: 6 months ago
@@ -168,14 +168,15 @@ jobs:
           (vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
           (vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
         )
         )
     steps:
     steps:
-      - name: Select Xcode version
-        run: "sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer"
+      # Uncomment to manually select Xcode version if needed
+      #- name: Select Xcode version
+      #  run: "sudo xcode-select --switch /Applications/Xcode_15.0.1.app/Contents/Developer"
       
       
       - name: Checkout Repo for syncing
       - name: Checkout Repo for syncing
         if: |
         if: |
           needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
           needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
           vars.SCHEDULED_SYNC != 'false'
           vars.SCHEDULED_SYNC != 'false'
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
         with:
           token: ${{ secrets.GH_PAT }}
           token: ${{ secrets.GH_PAT }}
           ref: ${{ env.TARGET_BRANCH }} 
           ref: ${{ env.TARGET_BRANCH }} 
@@ -185,7 +186,7 @@ jobs:
           needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
           needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
           vars.SCHEDULED_SYNC != 'false' && github.repository_owner != 'Artificial-Pancreas'
           vars.SCHEDULED_SYNC != 'false' && github.repository_owner != 'Artificial-Pancreas'
         id: sync
         id: sync
-        uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
+        uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.1
         with:
         with:
           target_sync_branch: ${{ env.TARGET_BRANCH }}
           target_sync_branch: ${{ env.TARGET_BRANCH }}
           shallow_since: 6 months ago
           shallow_since: 6 months ago
@@ -215,7 +216,7 @@ jobs:
           echo "NEW_COMMITS=${{ steps.sync.outputs.has_new_commits }}" >> $GITHUB_OUTPUT
           echo "NEW_COMMITS=${{ steps.sync.outputs.has_new_commits }}" >> $GITHUB_OUTPUT
 
 
       - name: Checkout Repo for building
       - name: Checkout Repo for building
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
         with:
           token: ${{ secrets.GH_PAT }}
           token: ${{ secrets.GH_PAT }}
           submodules: recursive
           submodules: recursive
@@ -259,4 +260,4 @@ jobs:
           name: build-artifacts
           name: build-artifacts
           path: |
           path: |
             artifacts
             artifacts
-            buildlog
+            buildlog

+ 1 - 1
.github/workflows/create_certs.yml

@@ -20,7 +20,7 @@ jobs:
       
       
       # Checks-out the repo
       # Checks-out the repo
       - name: Checkout Repo
       - name: Checkout Repo
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         
         
       # Patch Fastlane Match to not print tables
       # Patch Fastlane Match to not print tables
       - name: Patch Match Tables
       - name: Patch Match Tables

+ 1 - 1
.github/workflows/validate_secrets.yml

@@ -123,7 +123,7 @@ jobs:
       TEAMID: ${{ secrets.TEAMID }}
       TEAMID: ${{ secrets.TEAMID }}
     steps:
     steps:
       - name: Checkout Repo
       - name: Checkout Repo
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
 
       # Install project dependencies
       # Install project dependencies
       - name: Install Project Dependencies
       - name: Install Project Dependencies