Rename integrated circuit in code #1997
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: Build pull request on push | |
on: | |
pull_request: | |
paths: ['**'] | |
# Cancel previous jobs if PR gets another push | |
concurrency: | |
group: PR-build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check Path Filter | |
uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
code: | |
- 'src/**' | |
- '*.gradle' | |
- 'gradle.properties' | |
- 'gradlew*' | |
- 'gradle/**' | |
- name: Setup Build | |
if: steps.filter.outputs.code == 'true' | |
uses: ./.github/actions/build_setup | |
- name: Build | |
if: steps.filter.outputs.code == 'true' | |
run: ./gradlew assemble --build-cache | |
- name: Upload Artifact | |
if: steps.filter.outputs.code == 'true' | |
uses: actions/upload-artifact@v4.0.0 | |
with: | |
name: build output | |
path: build/libs/* | |
retention-days: 15 |