|
|
@@ -98,7 +98,7 @@ jobs:
|
|
|
if: |
|
|
|
needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
|
|
|
(vars.SCHEDULED_BUILD != 'false' || vars.SCHEDULED_SYNC != 'false')
|
|
|
- uses: actions/checkout@v3
|
|
|
+ uses: actions/checkout@v4
|
|
|
with:
|
|
|
token: ${{ secrets.GH_PAT }}
|
|
|
ref: alive
|
|
|
@@ -108,7 +108,7 @@ jobs:
|
|
|
needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
|
|
|
vars.SCHEDULED_SYNC != 'false' && github.repository_owner != 'Artificial-Pancreas'
|
|
|
id: sync
|
|
|
- uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
|
|
|
+ uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.1
|
|
|
with:
|
|
|
target_sync_branch: ${{ env.ALIVE_BRANCH }}
|
|
|
shallow_since: 6 months ago
|
|
|
@@ -168,14 +168,15 @@ jobs:
|
|
|
(vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
|
|
|
)
|
|
|
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
|
|
|
if: |
|
|
|
needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
|
|
|
vars.SCHEDULED_SYNC != 'false'
|
|
|
- uses: actions/checkout@v3
|
|
|
+ uses: actions/checkout@v4
|
|
|
with:
|
|
|
token: ${{ secrets.GH_PAT }}
|
|
|
ref: ${{ env.TARGET_BRANCH }}
|
|
|
@@ -185,7 +186,7 @@ jobs:
|
|
|
needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
|
|
|
vars.SCHEDULED_SYNC != 'false' && github.repository_owner != 'Artificial-Pancreas'
|
|
|
id: sync
|
|
|
- uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
|
|
|
+ uses: aormsby/Fork-Sync-With-Upstream-action@v3.4.1
|
|
|
with:
|
|
|
target_sync_branch: ${{ env.TARGET_BRANCH }}
|
|
|
shallow_since: 6 months ago
|
|
|
@@ -215,7 +216,7 @@ jobs:
|
|
|
echo "NEW_COMMITS=${{ steps.sync.outputs.has_new_commits }}" >> $GITHUB_OUTPUT
|
|
|
|
|
|
- name: Checkout Repo for building
|
|
|
- uses: actions/checkout@v3
|
|
|
+ uses: actions/checkout@v4
|
|
|
with:
|
|
|
token: ${{ secrets.GH_PAT }}
|
|
|
submodules: recursive
|
|
|
@@ -259,4 +260,4 @@ jobs:
|
|
|
name: build-artifacts
|
|
|
path: |
|
|
|
artifacts
|
|
|
- buildlog
|
|
|
+ buildlog
|