Merge 8902f7d33bda84dec20a527c901fc3bb5f2c27e8 into 0b9671313b14ffe839ecbd7dd2ae5ac7f6f05db8

This commit is contained in:
n4n5 2025-04-11 19:29:46 +05:30 committed by GitHub
commit e6e2209f0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,39 @@ on:
default: true
jobs:
docs:
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v5
with:
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."
fi
build:
if: inputs.manual || (github.repository == 'rclone/rclone' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name))
timeout-minutes: 60