feat: Consider labels when providing the context #32
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 Native | |
on: | |
pull_request: | |
jobs: | |
build_native: | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.event.pull_request.labels.*.name, 'build native') }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: ./.github/actions/setup-node | |
- name: Build | |
run: | | |
yarn build && yarn build-native | |
- name: Publish release/ build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: AppMap packaged binaries | |
path: packages/cli/release |