.github: update zoomin.yml to use upload v4 #8
Workflow file for this run
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@v4 | |
- 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-rssi-viewer.zip \ | |
docs/* mkdocs.yml custom.properties tags.yml | |
- name: Upload documentation artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nrf-connect-rssi-viewer | |
path: nrf-connect-rssi-viewer.zip | |
retention-days: 7 |