From 290831c867cdc29ba22773368690dd6b9050ebfa Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Mon, 11 Jul 2022 02:39:21 +0200 Subject: [PATCH] Only build extras on main --- .github/workflows/ci.yml | 10 ---------- .github/workflows/extra.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/extra.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f80b20..bb50c19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,13 +73,3 @@ jobs: with: command: clippy args: -- -D warnings - - extra: - runs-on: ubuntu-22.04 - steps: - # build and cache this here in order to reuse it's cache in feature branches - - name: Install cargo-edit - uses: baptiste0928/cargo-install@v1 - with: - crate: cargo-edit - version: 0.9.1 diff --git a/.github/workflows/extra.yml b/.github/workflows/extra.yml new file mode 100644 index 0000000..9409ea2 --- /dev/null +++ b/.github/workflows/extra.yml @@ -0,0 +1,15 @@ +name: Extra +on: + push: + branches: + - main +jobs: + extra: + runs-on: ubuntu-22.04 + steps: + # build and cache this here in order to reuse it's cache in feature branches + - name: Install cargo-edit + uses: baptiste0928/cargo-install@v1 + with: + crate: cargo-edit + version: 0.9.1 \ No newline at end of file