forked from leptos-rs/leptos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve CI workflow (leptos-rs#2838)
* fix: improve CI workflow * fix: add missing `Makefile.toml` to workspace crates (reactive_stores and reactive_stores_macro) * fix: remove trailing slash in workflow names * fix: add gtk example and improve excluding example's logic * fix: install gtk example deps
- Loading branch information
Showing
12 changed files
with
68 additions
and
115 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Get Leptos Matrix Call | ||
on: | ||
workflow_call: | ||
outputs: | ||
matrix: | ||
description: "Matrix" | ||
value: ${{ jobs.create.outputs.matrix }} | ||
jobs: | ||
create: | ||
name: Create Leptos Matrix | ||
runs-on: ubuntu-latest | ||
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install jq | ||
run: sudo apt-get install jq | ||
- name: Set Matrix | ||
id: set-matrix | ||
run: | | ||
crates=$(cargo metadata --no-deps --quiet --format-version 1 | | ||
jq -r '.packages[] | select(.name != "workspace") | .manifest_path| rtrimstr("/Cargo.toml")' | | ||
sed "s|$(pwd)/||" | | ||
jq -R -s -c 'split("\n")[:-1]') | ||
echo "Leptos Directories: $crates" | ||
echo "matrix={\"directory\":$crates}" >> "$GITHUB_OUTPUT" | ||
- name: Print Location Info | ||
run: | | ||
echo "Workspace: ${{ github.workspace }}" | ||
pwd | ||
ls | sort -u |
Oops, something went wrong.