Skip to content

Commit

Permalink
fix: workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Mar 10, 2023
1 parent fb1cbec commit bab8abf
Showing 1 changed file with 10 additions and 29 deletions.
39 changes: 10 additions & 29 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,19 @@
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: generate

on:
push:
branches: [ main ]
branches: [ master, main ]
pull_request:
paths-ignore:
- .gitlab-ci.yml
- .github/workflows/test.yml
- .github/workflows/docker.yml
workflow_dispatch:

jobs:
test-linux:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || github.token }}
submodules: true

- uses: actions/cache@v2
with:
path: ~/.cache/xml2rfc
key: xml2rfc
restore-keys: xml2rfc

- uses: actions/cache@v2
with:
path: ~/.fontist
key: fontist-${{ runner.os }}
restore-keys: fontist-${{ runner.os }}

- uses: actions-mn/setup@master

- run: metanorma site generate --agree-to-terms
test-docker:
uses: metanorma/ci/.github/workflows/sample-gen.yml@main
secrets:
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}

0 comments on commit bab8abf

Please sign in to comment.