Skip to content

Commit

Permalink
[CI] use RF24* master; save doc builds as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Nov 15, 2021
1 parent fecc698 commit f35b293
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ jobs:
uses: actions/checkout@v2
with:
repository: nRF24/RF24Network
ref: CMake-4-Linux

- name: build & install RF24Network
run: |
Expand All @@ -106,7 +105,6 @@ jobs:
uses: actions/checkout@v2
with:
repository: nRF24/RF24Mesh
ref: CMake-4-Linux

- name: build & install RF24Mesh
run: |
Expand Down
58 changes: 34 additions & 24 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: DoxyGen build
name: build Docs

on:
pull_request:
Expand Down Expand Up @@ -29,26 +29,36 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: get latest release version number
id: latest_ver
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: nRF24/RF24Gateway
- name: checkout
uses: actions/checkout@v2
- name: overwrite doxygen tags
run: |
touch doxygenAction
echo "PROJECT_NUMBER = ${{ steps.latest_ver.outputs.release }}" >> doxygenAction
echo "@INCLUDE = doxygenAction" >> Doxyfile
- name: build doxygen
uses: mattnotmitt/doxygen-action@v1
with:
working-directory: '.'
doxyfile-path: './Doxyfile'
- name: upload to github pages
if: ${{ github.event_name == 'release'}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html
- name: get latest release version number
id: latest_ver
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: nRF24/RF24Gateway

- name: checkout
uses: actions/checkout@v2

- name: overwrite doxygen tags
run: |
touch doxygenAction
echo "PROJECT_NUMBER = ${{ steps.latest_ver.outputs.release }}" >> doxygenAction
echo "@INCLUDE = doxygenAction" >> Doxyfile
- name: build doxygen
uses: mattnotmitt/doxygen-action@v1
with:
working-directory: '.'
doxyfile-path: './Doxyfile'

- name: Save doxygen docs as artifact
uses: actions/upload-artifact@v2
with:
name: "RF24Gateway_doxygen_docs"
path: ${{ github.workspace }}/docs/html

- name: upload to github pages
if: ${{ github.event_name == 'release'}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html

0 comments on commit f35b293

Please # to comment.