-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 1.35 KB
/
update_changelogs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This workflow will crawl InfoSys and look for version numbers on pages.
# It will save them in a mark down file and create a pull request
name: Crawl InfoSys
on:
workflow_dispatch:
jobs:
crawl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore script/InfoSysCrawler.sln
- name: Crawl infosys
run: |
dotnet run --project script/InfoSysCrawler.cli/InfoSysCrawler.cli.fsproj --path https://infosys.beckhoff.com/english/menu/menu.php?id=8644252870837316006 --markdown script/changelog_tc1xxx.md
dotnet run --project script/InfoSysCrawler.cli/InfoSysCrawler.cli.fsproj --path https://infosys.beckhoff.com/english/menu/menu.php?id=8063276869205618704 --markdown script/changelog_plc_libraries.md
dotnet run --project script/InfoSysCrawler.cli/InfoSysCrawler.cli.fsproj --path https://infosys.beckhoff.com/english/menu/menu.php?id=4362125870657286805 --markdown script/changelog_tfxxxx.md
dotnet run --project script/InfoSysCrawler.cli/InfoSysCrawler.cli.fsproj --path https://infosys.beckhoff.com/english/menu/menu.php?id=6455946414529289984 --markdown script/changelog_texxxx.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4