From 16dad2c6d977157ee06ee36a35956d07527db21e Mon Sep 17 00:00:00 2001 From: makspll Date: Mon, 10 Feb 2025 00:40:52 +0000 Subject: [PATCH 1/3] chore: fix release error --- crates/bevy_mod_scripting_derive/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_mod_scripting_derive/Cargo.toml b/crates/bevy_mod_scripting_derive/Cargo.toml index fdf050b803..731d8f625e 100644 --- a/crates/bevy_mod_scripting_derive/Cargo.toml +++ b/crates/bevy_mod_scripting_derive/Cargo.toml @@ -12,7 +12,7 @@ categories = ["game-development"] readme = "readme.md" [dependencies] -syn = "2" +syn = { version = "2", features = ["full"] } proc-macro2 = "1" quote = "1" From 4b71f4a5c7201d49ada49d3b5f9bde3f2657a48e Mon Sep 17 00:00:00 2001 From: makspll Date: Mon, 10 Feb 2025 00:45:34 +0000 Subject: [PATCH 2/3] skip substeps instead of main step --- .github/workflows/bevy_mod_scripting.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bevy_mod_scripting.yml b/.github/workflows/bevy_mod_scripting.yml index 2608bdcbda..9f5e5cdd85 100644 --- a/.github/workflows/bevy_mod_scripting.yml +++ b/.github/workflows/bevy_mod_scripting.yml @@ -72,44 +72,49 @@ jobs: issues: write name: Check - ${{ matrix.run_args.name }} runs-on: ${{ matrix.run_args.os }} - if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} strategy: matrix: run_args: ${{fromJson(needs.generate-job-matrix.outputs.matrix)}} steps: - name: Checkout + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} uses: actions/checkout@v4 - name: Install alsa and udev + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} if: runner.os == 'linux' run: | sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev sudo rm -rf /usr/share/dotnet; sudo rm -rf /opt/ghc; sudo rm -rf "/usr/local/share/boost"; sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions-rs/toolchain@v1 + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} with: toolchain: stable override: true - name: Rust Cache + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} uses: Swatinem/rust-cache@v2.7.3 - name: Setup + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} run: | cargo xtask init - name: Check + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} run: | ${{ matrix.run_args.command }} - name: Upload coverage artifact - if: ${{ matrix.run_args.generates_coverage }} + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' && matrix.run_args.generates_coverage }} uses: actions/upload-artifact@v4 with: name: code-coverage-report path: target/coverage/html/ - name: Update coverage badge - if: ${{ matrix.run_args.generates_coverage }} + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' && matrix.run_args.generates_coverage }} continue-on-error: true run: | git checkout -b chore/_update-coverage-badge || git checkout chore/_update-coverage-badge From f55b2c07aa84d5f70bc278b782ae3cab3fd08656 Mon Sep 17 00:00:00 2001 From: makspll Date: Mon, 10 Feb 2025 00:46:25 +0000 Subject: [PATCH 3/3] fix typo --- .github/workflows/bevy_mod_scripting.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/bevy_mod_scripting.yml b/.github/workflows/bevy_mod_scripting.yml index 9f5e5cdd85..4f036f5437 100644 --- a/.github/workflows/bevy_mod_scripting.yml +++ b/.github/workflows/bevy_mod_scripting.yml @@ -81,8 +81,7 @@ jobs: uses: actions/checkout@v4 - name: Install alsa and udev - if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }} - if: runner.os == 'linux' + if: ${{ needs.check-needs-run.outputs.any-changes == 'true' && runner.os == 'linux' }} run: | sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev sudo rm -rf /usr/share/dotnet; sudo rm -rf /opt/ghc; sudo rm -rf "/usr/local/share/boost"; sudo rm -rf "$AGENT_TOOLSDIRECTORY"