Skip to content

Commit

Permalink
Compact jq for matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-quintero committed Oct 17, 2024
1 parent f26ed73 commit e2ee88e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
- name: export matrix
id: export
run: |
MATRIX=$(yq -o json '.build-wheels | {"include": .}' workflow-configuration.yml | jq .)
MATRIX=$(yq -o json '.build-wheels | {"include": .}' workflow-configuration.yml | jq -c .)
echo "matrix=${MATRIX}" >> "$GITHUB_OUTPUT"
build-wheels:
Expand Down Expand Up @@ -186,7 +186,11 @@ jobs:
platforms: all

- name: build Nextroute Go binary
run: GOOS=${{ matrix.GOOS }} GOARCH=${{ matrix.GOARCH }} go build -o nextroute/bin/nextroute-${{ matrix.GOOS }}-${{ matrix.GOARCH }} cmd/main.go
run: |
GOOS=${{ matrix.GOOS }} \
GOARCH=${{ matrix.GOARCH }} \
go build -o nextroute/bin/nextroute-${{ matrix.GOOS }}-${{ matrix.GOARCH }} \
cmd/main.go
- name: build wheels
if: matrix.platform != 'macos-arm'
Expand Down
Empty file added main.py
Empty file.

0 comments on commit e2ee88e

Please sign in to comment.