Work CI-CD
- Update action to tuse template. - Pass secrets to template. [skip_ci]
This commit is contained in:
Родитель
22f85848af
Коммит
fb44d95dfe
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) .NET Foundation and Contributors
|
||||
# See LICENSE file in the project root for full license information.
|
||||
|
||||
name: PR Checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check_package_lock:
|
||||
name: nanoFramework
|
||||
uses: nanoframework/nf-tools/.github/workflows/check-package-lock.yml@main
|
||||
check_nuget_latest:
|
||||
name: nanoFramework
|
||||
uses: nanoframework/nf-tools/.github/workflows/check-packages-updated.yml@main
|
||||
secrets: inherit
|
||||
with:
|
||||
solution: 'nanoframework.System.Net.Sockets.TcpClient.sln'
|
|
@ -3,30 +3,19 @@
|
|||
|
||||
# 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 * * *'
|
||||
# At 00:10 UTC.
|
||||
- cron: '10 00 * * Mon,Thu'
|
||||
repository_dispatch:
|
||||
types: update-dependencies
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
|
||||
jobs:
|
||||
update-dotnet-preview:
|
||||
name: Update .NET nanoFramework dependencies
|
||||
timeout-minutes: 15
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Update dependencies
|
||||
uses: nanoframework/nanodu@v1
|
||||
update-dependencies:
|
||||
name: nanoFramework
|
||||
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
|
||||
secrets: inherit
|
||||
with:
|
||||
solutionsToCheck: 'nanoframework.System.Net.Sockets.TcpClient.sln'
|
||||
|
|
Загрузка…
Ссылка в новой задаче