wip: trigger lockfile helper on branch push #1
This file contains hidden or 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: TEMP generate Gemfile.lock | |
| # Throwaway helper: resolves the Gemfile on the same Ruby the Pages workflow uses | |
| # and uploads the resulting lockfile as an artifact, so it can be committed. | |
| # Deleted before this branch is merged. | |
| on: | |
| push: | |
| branches: [pages-actions-migration] | |
| jobs: | |
| lock: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.3" | |
| - run: bundle lock | |
| - run: | | |
| echo "----- resolved versions -----" | |
| grep -E "^\s{4}(jekyll|kramdown|jekyll-seo-tag|jekyll-feed|jekyll-sitemap|minima|sass-embedded) " Gemfile.lock || true | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: gemfile-lock | |
| path: Gemfile.lock |