/
githubmirror
/
icu
Обзор
Документация
Войти
/
githubmirror
/
icu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/icu_docs.yml
66 строк
2 KB
dependabot[bot]
ICU-23247 Bump the github-actions group with 8 updates
04 авг 2026, 00:52
04 авг 2026, 00:52
6f8b1e8
Код
Авторство
О чём код?
# Copyright (C) 2016 and later: Unicode, Inc. and others. # License & terms of use: http://www.unicode.org/copyright.html # # GitHub Action configuration script for ICU continuous integration tasks. name: GHA ICU Docs on: push: branches: - main - 'maint/maint*' paths: - 'docs/**' - '.github/workflows/**' pull_request: branches: '**' paths: - 'docs/**' - '.github/workflows/**' workflow_dispatch: # To trigger the Env Test workflow manually, follow the instructions in # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow # For non-release branches (namely: PRs), only run CI on the most recent commit. Cancel # runs on previous commits mid-flight when new commits are pushed. # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-on-specific-branches concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ !contains(github.ref, 'maint/') && github.ref != 'main' }} permissions: contents: read jobs: # Build job # Keep in sync with deploy workflow in `jekyll-gh-pages.yml` test-docs-build: name: Test build of User Guide docs runs-on: ubuntu-24.04 # Updated in BRS steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Ruby uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0 with: ruby-version: '2.7.4' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 0 # Increment this number if you need to re-download cached gems - name: Setup Pages id: pages uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 with: generator_config_file: docs/_config.yml - name: Build with Jekyll # Outputs to the './_site' directory by default run: | cd docs # root directory of markdown, also contains Jekyll configs, etc. bundle install # The baseurl arg is parsed from the `baseurl` field of _config.yml. bundle exec jekyll build --baseurl "${STEPS_PAGES_OUTPUTS_BASE_PATH}" env: JEKYLL_ENV: production STEPS_PAGES_OUTPUTS_BASE_PATH: ${{ steps.pages.outputs.base_path }}