.github: update zoomin.yml to use upload v4 #10
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: Create Zoomin bundle | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened] | |
paths: | |
- '.github/workflows/zoomin.yml' | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
create-zoomin-bundle: | |
name: Create Zoomin bundle | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Copy zoomin properties | |
run: | | |
cp doc/zoomin/custom.properties doc/ \ | |
&& cp doc/zoomin/tags.yml doc/ | |
- name: Create zip file | |
run: | | |
cd doc/ \ | |
&& zip -r ../nrf-connect-board-configurator.zip \ | |
docs/* mkdocs.yml custom.properties tags.yml | |
- name: Upload documentation artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nrf-connect-board-configurator | |
path: nrf-connect-board-configurator.zip | |
retention-days: 7 |