Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a11f866

Browse files
committedMar 10, 2020
Merge branch 'master' into additional_include_paths_libs
2 parents b80c5c2 + bf3124f commit a11f866

File tree

340 files changed

+8939
-7575
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

340 files changed

+8939
-7575
lines changed
 

‎.github/workflows/docs.yaml

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: docs
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- closed
9+
paths:
10+
# existing docs
11+
- 'docs/**'
12+
# changes to the cli reference generator
13+
- 'docsgen/**'
14+
# potential changes to commands documentation
15+
- 'cli/**'
16+
# potential changes to gRPC documentation
17+
- 'rpc/**'
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v2
26+
27+
- name: Install Taskfile
28+
uses: Arduino/actions/setup-taskfile@master
29+
with:
30+
repo-token: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Setup Go
33+
uses: actions/setup-go@v2-beta
34+
with:
35+
go-version: '1.13'
36+
37+
- name: Install Go dependencies
38+
run: |
39+
go version
40+
go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
41+
42+
- name: Install protoc compiler
43+
uses: arduino/setup-protoc@v1.1.0
44+
with:
45+
repo-token: ${{ secrets.GITHUB_TOKEN }}
46+
47+
- name: Setup Python
48+
uses: actions/setup-python@v1
49+
with:
50+
python-version: '3.6'
51+
architecture: 'x64'
52+
53+
- name: Cache dependencies
54+
uses: actions/cache@v1
55+
with:
56+
path: ~/.cache/pip
57+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
58+
restore-keys: |
59+
${{ runner.os }}-pip-
60+
61+
- name: Install Python dependencies
62+
run: |
63+
python3 -m pip install --upgrade pip
64+
python3 -m pip install -r ./requirements_docs.txt
65+
66+
- name: Build docs website
67+
run: task docs:build
68+
69+
- name: Deploy
70+
# publish docs only when PR is merged
71+
if: github.event.pull_request.merged == true
72+
uses: peaceiris/actions-gh-pages@v3
73+
with:
74+
github_token: ${{ secrets.GITHUB_TOKEN }}
75+
publish_dir: ./public

‎.github/workflows/nightly.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
PLUGIN_SOURCE: 'dist/*'
3131
PLUGIN_TARGET: '/arduino-cli/nightly'
3232
PLUGIN_STRIP_PREFIX: 'dist/'
33-
PLUGIN_BUCKET: 'arduino-downloads-prod-beagle'
33+
PLUGIN_BUCKET: ${{ secrets.DOWNLOADS_BUCKET }}
3434
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
3535
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)