Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions .github/workflows/buildMomentumSpec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,23 @@ jobs:
runs-on: ubuntu-latest
steps:
# Check out PR
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Install dependencies
run: |
echo 'sudo apt install'
- name: build content #toy content
sudo apt update
sudo apt -yq install asciidoctor ruby-asciidoctor-pdf ruby-asciidoctor-plantuml
- name: build content
run: |
date > thisdate
# Upload artifact containing Momentum-netCDF.pdf
export apath=./specifications/momentum
export ADOC=$apath/Momentum-netCDF
asciidoctor --base-dir=$apath $ADOC.adoc
asciidoctor-pdf --base-dir=$apath $ADOC.adoc
cp $ADOC.pdf $apath/publish
cp $ADOC.html $apath/publish
ls -l $apath/publish
# Upload artifact containing Momentum-netCDF
- name: Upload cf-conventions doc preview
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v6
with:
name: thisdate
path: ./
name: Momentum-netCDF
path: ./specifications/momentum/publish/Momentum-netCDF.*
2 changes: 1 addition & 1 deletion .github/workflows/buildnc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down