mirror of
https://github.com/rclone/rclone.git
synced 2025-04-24 13:14:13 +08:00
ci: add package
This commit is contained in:
parent
e69598f252
commit
7b3d9b7cc1
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -34,12 +34,20 @@ jobs:
|
||||
go-version: '>=1.24.0-rc.1'
|
||||
check-latest: true
|
||||
|
||||
- name: Install required packages
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y make pandoc
|
||||
|
||||
- name: Build doc
|
||||
shell: bash
|
||||
run: |
|
||||
make doc
|
||||
if [[ $(git status --porcelain) ]]; then
|
||||
echo "Docs are not up to date. Please run 'make doc' and commit the changes."
|
||||
echo "Please check the following files:"
|
||||
git status --porcelain
|
||||
exit 1
|
||||
else
|
||||
echo "Docs are up to date."
|
||||
|
Loading…
x
Reference in New Issue
Block a user