nrf: remove internal manifest #635
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: On PR action | |
on: | |
pull_request: | |
jobs: | |
Run_Configuration: | |
runs-on: ubuntu-latest | |
outputs: | |
NRF_revision: ${{ steps.config.outputs.NRF_revision }} | |
steps: | |
- name: Read body of PR | |
run: printf "%s\n" "${{ github.event.pull_request.body }}" > pr_body.md | |
- name: Get nrf revision | |
id: config | |
run: | | |
grep -oP "(NRF_revision=)[a-zA-Z0-9/_-]*" pr_body.md > config | |
if [ $? != 0 ]; then | |
echo "NRF_revision=main" >> $GITHUB_OUTPUT; | |
else | |
cat config >> $GITHUB_OUTPUT; | |
fi; | |
- name: print nrf revision | |
run: | | |
echo ${{ steps.config.outputs.NRF_revision }} | |
verify_PR: | |
uses: ./.github/workflows/validate_code_style.yml | |
with: | |
reference_commit: ${{ github.event.pull_request.base.sha }} | |
save_pr_number: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Save PR number to file | |
run: | | |
echo "${{ github.event.number }}" > PR_number | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PR_number | |
path: | | |
PR_number | |
build_samples: | |
needs: Run_Configuration | |
uses: ./.github/workflows/samples_build.yml | |
with: | |
nrf_revision: ${{needs.Run_Configuration.outputs.NRF_revision}} | |
build_and_run_tests: | |
needs: Run_Configuration | |
uses: ./.github/workflows/run_tests.yml | |
with: | |
nrf_revision: ${{needs.Run_Configuration.outputs.NRF_revision}} |