- Update workflow to use template.

[skip_ci]
This commit is contained in:
José Simões 2022-12-27 17:57:40 +00:00 коммит произвёл GitHub
Родитель b9d1d2c0c4
Коммит 0fca30d9de
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 13 добавлений и 27 удалений

40
.github/workflows/update-dependencies.yml поставляемый
Просмотреть файл

@ -3,37 +3,23 @@
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running.
name: Daily update dependencies
name: Update .NET nanoFramework dependencies
on:
schedule:
# At 00:00 UTC every day.
- cron: '00 00 * * *'
workflow_dispatch:
# At 00:10 UTC.
- cron: '10 00 * * Mon,Thu'
repository_dispatch:
types: update-dependencies
defaults:
run:
shell: pwsh
jobs:
update-nuget-dependencies:
name: Update .NET nanoFramework dependencies
timeout-minutes: 180
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ secrets.NFBOT_GITHUB_ACTIONS }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: main
ref: master
- name: Update dependencies
uses: nanoframework/nanodu@v1
with:
solutionsToCheck: 'amqp-nanoFramework.sln'
workingDirectory: main
branchToPr: master
repoOwner: Azure
update-dependencies:
name: nanoFramework
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
secrets: inherit
with:
timeout-minutes: 180
solutionsToCheck: 'amqp-nanoFramework.sln'
workingDirectory: main
branchToPr: master
repoOwner: Azure