diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 24ce1357..50207e2b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -11,7 +11,24 @@ env: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' jobs: + rust_changes: + runs-on: ubuntu-latest + outputs: + rust_src_changed: ${{ steps.filter.outputs.rust_src }} + steps: + - uses: actions/checkout@v2 + - uses: dorny/paths-filter@v2 + id: filter + with: + filters: | + rust_src: + - 'src/**' + - 'bootstrap.sh' + - 'Cargo.toml' + - 'pyproject.toml' check_linux: + needs: rust_changes + if: ${{ needs.rust_changes.outputs.rust_src_changed == 'true' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -34,6 +51,8 @@ jobs: args: --release rust-toolchain: nightly check_win: + needs: rust_changes + if: ${{ needs.rust_changes.outputs.rust_src_changed == 'true' }} runs-on: windows-latest steps: - uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index 53e0cd86..49def902 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bcml" authors = ["Caleb Smith"] -version = "3.9.22" +version = "3.9.23" edition = "2021" readme = "docs/README.md" diff --git a/bcml/__version__.py b/bcml/__version__.py index fbd612bc..e2d68346 100644 --- a/bcml/__version__.py +++ b/bcml/__version__.py @@ -1,6 +1,6 @@ _MAJOR=3 _MINOR=9 -_PATCH="22" +_PATCH="23" VERSION = f"{_MAJOR}.{_MINOR}.{_PATCH}" USER_VERSION = f"""{_MAJOR}.{_MINOR}.{_PATCH[0:1]} { diff --git a/pyproject.toml b/pyproject.toml index d5629d34..b412b1ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "bcml" -version = "3.9.22" +version = "3.9.23" description = "A mod manager for The Legend of Zelda: Breath of the Wild" author = "NiceneNerd" author_email = "macadamiadaze@gmail.com" diff --git a/setup.py b/setup.py index 753468e5..af1924a1 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="bcml", - version="3.9.22", + version="3.9.23", author="NiceneNerd", author_email="macadamiadaze@gmail.com", description="A mod manager for The Legend of Zelda: Breath of the Wild",