Merge pull request #37 from scala-steward/update/upickle-3.1.2 #214
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: cmdoc | |
on: push | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
cmdoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '*' | |
- run: npm ci | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 19 | |
- name: build | |
run: ./mill sclin.assembly | |
- name: generate docs | |
run: ./mill sclin.cmdoc | |
- name: run examples | |
run: node docr.js sclin-docs/commands.md | |
- name: commit + push | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
force: true |