Eclipse Embedded CDT plug-ins v6.5.0 released #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Jekyll site CI | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners | |
runs-on: ubuntu-22.04 | |
env: | |
GITHUB_DEST_REPO: "eclipse-embed-cdt/eclipse-embed-cdt.github.io" | |
GITHUB_PREVIEW_REPO: "eclipse-embed-cdt/web-preview" | |
GIT_COMMIT_USER_EMAIL: "[email protected]" | |
GIT_COMMIT_USER_NAME: "Jekyll site CI" | |
NOKOGIRI_USE_SYSTEM_LIBRARIES: true | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v3 | |
# https://github.com/ruby/setup-ruby | |
- uses: ruby/setup-ruby@v1 | |
with: | |
# Version range or exact version of a Ruby version to use, using semvers version range syntax. | |
# https://www.ruby-lang.org/en/downloads/releases/ | |
ruby-version: '2.7' | |
# https://github.com/actions/cache | |
- uses: actions/cache@v3 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
# https://bundler.io | |
- name: Bundle install | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential patch ruby-dev zlib1g-dev liblzma-dev libxslt-dev pkg-config | |
gem install bundler:2.4 | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
ls -l vendor/bundle | |
bundle exec htmlproofer --version | |
- name: Show environment | |
run: | | |
pwd | |
env | sort | |
- name: Run script to build site | |
env: | |
GITHUB_TOKEN: ${{ secrets.ILG_TOKEN }} | |
run: bash scripts/ga-jekyll.sh | |