Skip to content

Commit 33e35bf

Browse files
committed
Work CI-CD
- Add github action to udpate develop branch. - Revert parameters in main update. ***NO_CI***
1 parent 81d1e71 commit 33e35bf

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running.
5+
6+
name: Daily update dependencies
7+
8+
on:
9+
schedule:
10+
# At 00:00 UTC.
11+
- cron: '00 10 * * Mon,Thu'
12+
repository_dispatch:
13+
types: update-dependencies
14+
15+
jobs:
16+
update-dependencies:
17+
name: nanoFramework
18+
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
19+
secrets: inherit
20+
with:
21+
solutionsToCheck: 'nanoFramework.Runtime.Native.sln'
22+
usePreview: true
23+
branchToPr: 'develop'
24+

.github/workflows/update-dependencies.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ jobs:
1919
secrets: inherit
2020
with:
2121
solutionsToCheck: 'nanoFramework.Runtime.Native.sln'
22-
usePreview: ${{ github.event.client_payload.usePreview }}
23-
branchToPr: ${{ github.event.client_payload.branchToPr }}
2422

0 commit comments

Comments
 (0)