Skip to content

Commit

Permalink
Update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
Querela committed Apr 9, 2024
1 parent 682b61e commit 22db6a5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-fcs-aai-adoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 'fcs-aai/**'
- '.github/workflows/build-fcs-aai-adoc.yml'
workflow_dispatch:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -20,7 +21,7 @@ jobs:
container: asciidoctor/docker-asciidoctor

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build HTML
run: asciidoctor -v -D docs -a data-uri --backend=html5 -o fcs-aai.html fcs-aai/index.adoc
Expand All @@ -29,7 +30,7 @@ jobs:
run: asciidoctor-pdf -v -D docs -o fcs-aai.pdf fcs-aai/index.adoc

- name: Store results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fcs-aai-specs
path: docs/*
4 changes: 2 additions & 2 deletions .github/workflows/build-fcs-core-1.0-adoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
container: asciidoctor/docker-asciidoctor

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build HTML
run: asciidoctor -v -D docs -a data-uri --backend=html5 -o fcs-core-1.0.html fcs-core-1.0/index.adoc
Expand All @@ -32,7 +32,7 @@ jobs:
run: cp -R fcs-core-1.0/attachments docs/

- name: Store results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fcs-core-1.0-specs
path: docs/*
5 changes: 3 additions & 2 deletions .github/workflows/build-fcs-core-2.0-adoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- 'fcs-core-2.0/**'
- '.github/workflows/build-fcs-core-2.0-adoc.yml'
workflow_dispatch:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -20,7 +21,7 @@ jobs:
container: asciidoctor/docker-asciidoctor

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build HTML
run: asciidoctor -v -D docs -a data-uri --backend=html5 -o fcs-core-2.0.html fcs-core-2.0/index.adoc
Expand All @@ -32,7 +33,7 @@ jobs:
run: cp -R fcs-core-2.0/attachments docs/

- name: Store results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fcs-core-2.0-specs
path: docs/*
4 changes: 2 additions & 2 deletions .github/workflows/build-fcs-dataviews-adoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
container: asciidoctor/docker-asciidoctor

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build HTML
run: asciidoctor -v -D docs -a data-uri --backend=html5 -o fcs-dataviews-1.0.html fcs-dataviews-1.0/index.adoc
Expand All @@ -29,7 +29,7 @@ jobs:
run: asciidoctor-pdf -v -D docs -o fcs-dataviews-1.0.pdf fcs-dataviews-1.0/index.adoc

- name: Store results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fcs-dataviews-1.0-specs
path: docs/*
1 change: 1 addition & 0 deletions .github/workflows/build-fcs-endpoint-dev-slides-adoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- 'fcs-endpoint-dev-slides/**'
- '.github/workflows/build-fcs-endpoint-dev-slides-adoc.yml'
workflow_dispatch:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/build-fcs-endpoint-dev-tutorial-adoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
- dev
- feature/fcs-endpoint-dev-tutorial
paths:
- 'fcs-endpoint-dev-tutorial/**'
- '.github/workflows/build-fcs-endpoint-dev-tutorial-adoc.yml'
Expand All @@ -21,7 +19,7 @@ jobs:
container: asciidoctor/docker-asciidoctor

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build HTML
run: asciidoctor -v -D docs -a data-uri --backend=html5 -o fcs-endpoint-dev-tutorial.html fcs-endpoint-dev-tutorial/index.adoc
Expand All @@ -30,7 +28,7 @@ jobs:
run: asciidoctor-pdf -v -D docs -o fcs-endpoint-dev-tutorial.pdf fcs-endpoint-dev-tutorial/index.adoc

- name: Store results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: fcs-endpoint-dev-tutorial
path: docs/*

0 comments on commit 22db6a5

Please sign in to comment.