Work CI-CD
- Update update refs git action. ***NO_CI***
This commit is contained in:
Родитель
4a9045cca3
Коммит
526077777a
|
@ -7,8 +7,8 @@ name: Daily update dependencies
|
|||
|
||||
on:
|
||||
schedule:
|
||||
# At 00:00 UTC every day.
|
||||
- cron: '00 00 * * *'
|
||||
# Update At 00:00 UTC on Tuesday and Friday
|
||||
- cron: '0 0 * * 2,5'
|
||||
repository_dispatch:
|
||||
types: update-dependencies
|
||||
|
||||
|
@ -19,34 +19,14 @@ defaults:
|
|||
jobs:
|
||||
update-nuget-dependencies:
|
||||
name: Update .NET nanoFramework dependencies
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 180 # Non default as IoT devices has lots of solutions to update!
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: main
|
||||
- name: Checkout tools repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: nanoframework/nf-tools
|
||||
path: tools
|
||||
- name: Update dependencies
|
||||
run: ./github-actions/update-nf-dependencies.ps1
|
||||
working-directory: tools
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
if: env.CREATE_PR == 'true'
|
||||
uses: nanoframework/nanodu@v1
|
||||
with:
|
||||
title: '${{ env.PR_TITLE }}'
|
||||
body: |
|
||||
${{ env.PR_MESSAGE }}
|
||||
|
||||
[version update]
|
||||
|
||||
### :warning: This is an automated update. :warning:
|
||||
committer: 'nfbot <dependencybot@nanoframework.net>'
|
||||
branch: ${{ env.BRANCH_NAME }}
|
||||
path: main
|
||||
labels: |
|
||||
Type: dependencies
|
||||
solutionsToCheck: 'nanoFramework.Azure.Devices.Client.sln'
|
||||
|
|
Загрузка…
Ссылка в новой задаче