Work CI-CD
- Migrate update dependencies to github action. ***NO_CI***
This commit is contained in:
Родитель
3cf6a8dffe
Коммит
a0ad77eba3
|
@ -9,6 +9,7 @@ on:
|
|||
schedule:
|
||||
# At 00:00 UTC every day.
|
||||
- cron: '00 00 * * *'
|
||||
workflow_dispatch:
|
||||
repository_dispatch:
|
||||
types: update-dependencies
|
||||
|
||||
|
@ -17,36 +18,20 @@ defaults:
|
|||
shell: pwsh
|
||||
|
||||
jobs:
|
||||
update-dotnet-preview:
|
||||
update-nuget-dependencies:
|
||||
name: Update .NET nanoFramework dependencies
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 180
|
||||
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
|
||||
path: main
|
||||
- name: Update dependencies
|
||||
run: ./github-actions/update-nf-dependencies.ps1 prerelease '' 'amqp-nanoFramework.sln'
|
||||
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: 'amqp-nanoFramework.sln'
|
||||
workingDirectory: main
|
||||
branchToPr: ${{ env.BRANCH_NAME }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче