-
Notifications
You must be signed in to change notification settings - Fork 2
57 lines (45 loc) · 1.08 KB
/
scraper.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Run scraper
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 * * * *'
permissions:
contents: write
actions: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.303
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout thepbone/FirmwareProviderAPI
uses: actions/checkout@v3
with:
repository: ThePBone/FirmwareProviderAPI
submodules: true
path: './scraper'
- name: Run scraper
env:
OPENSSL_CONF: "scraper/SamsungFumoClient/openssl.custom"
shell: bash
run: |
dotnet run --project scraper/FirmwareProviderCLI/
- uses: actions/upload-artifact@v4
with:
name: artifact
path: .
- name: Cleanup
run: |
rm -rf scraper
rm *.log
- name: Publish summary changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Add new firmware binaries