chore: bump @mui/joy from 5.0.0-beta.10 to 5.0.0-beta.11 #309
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: Buck2 build | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, labeled, unlabeled] | |
jobs: | |
buck2-build: | |
name: Buck2 Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Prepare Buck2 build args from labels | |
id: prepare_args | |
run: | | |
ARGS="" | |
cat <<EOF > labels.json | |
${{ toJSON(github.event.pull_request.labels.*.name) }} | |
EOF | |
for LABEL in $(jq -r '.[]' < labels.json); do | |
case "$LABEL" in | |
dashboard|consent) | |
ARGS+=" //apps/$LABEL:$LABEL" | |
;; | |
core) | |
ARGS+=" //core/api:api" | |
;; | |
esac | |
done | |
echo "Prepared args: $ARGS" | |
echo "args=$ARGS" >> "$GITHUB_OUTPUT" | |
- name: Buck2 build | |
run: nix develop -c buck2 build ${{ steps.prepare_args.outputs.args }} |