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.
|
# 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:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# At 00:00 UTC every day.
|
# At 00:10 UTC.
|
||||||
- cron: '00 00 * * *'
|
- cron: '10 00 * * Mon,Thu'
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: update-dependencies
|
types: update-dependencies
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: pwsh
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-dotnet-preview:
|
update-dependencies:
|
||||||
name: Update .NET nanoFramework dependencies
|
name: nanoFramework
|
||||||
timeout-minutes: 15
|
uses: nanoframework/nf-tools/.github/workflows/update-dependencies.yml@main
|
||||||
runs-on: windows-latest
|
secrets: inherit
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Update dependencies
|
|
||||||
uses: nanoframework/nanodu@v1
|
|
||||||
with:
|
with:
|
||||||
solutionsToCheck: 'nanoframework.System.Net.Sockets.TcpClient.sln'
|
solutionsToCheck: 'nanoframework.System.Net.Sockets.TcpClient.sln'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче