Skip to content

Commit 978e0fd

Browse files
authored
Work CI-CD
- Update update refs git action. ***NO_CI***
1 parent 501a0a5 commit 978e0fd

File tree

1 file changed

+8
-29
lines changed

1 file changed

+8
-29
lines changed

.github/workflows/update-dependencies.yml

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ name: Daily update dependencies
77

88
on:
99
schedule:
10-
# At 00:00 UTC every day.
11-
- cron: '00 00 * * *'
10+
# Update At 00:00 UTC on Tuesday and Friday
11+
- cron: '0 0 * * 2,5'
1212
repository_dispatch:
1313
types: update-dependencies
1414

@@ -17,37 +17,16 @@ defaults:
1717
shell: pwsh
1818

1919
jobs:
20-
update-dotnet-preview:
20+
update-nuget-dependencies:
2121
name: Update .NET nanoFramework dependencies
22-
timeout-minutes: 15
22+
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
2323
runs-on: windows-latest
24+
env:
25+
GITHUB_TOKEN: ${{ github.token }}
2426
steps:
2527
- name: Checkout
2628
uses: actions/checkout@v2
27-
with:
28-
path: main
29-
- name: Checkout tools repo
30-
uses: actions/checkout@v2
31-
with:
32-
repository: nanoframework/nf-tools
33-
path: tools
3429
- name: Update dependencies
35-
run: ./github-actions/update-nf-dependencies.ps1 $null $null 'nanoFramework.TestFramework.sln'
36-
working-directory: tools
37-
- name: Create Pull Request
38-
uses: peter-evans/create-pull-request@v3
39-
if: env.CREATE_PR == 'true'
30+
uses: nanoframework/nanodu@v1
4031
with:
41-
title: '${{ env.PR_TITLE }}'
42-
body: |
43-
${{ env.PR_MESSAGE }}
44-
45-
[version update]
46-
47-
### :warning: This is an automated update. :warning:
48-
committer: 'nfbot <[email protected]>'
49-
branch: ${{ env.BRANCH_NAME }}
50-
path: main
51-
labels: |
52-
Type: dependencies
53-
32+
solutionsToCheck: 'nanoFramework.TestFramework.sln'

0 commit comments

Comments
 (0)