From 99e20fb6968e2b354340cae25bf25d9327a63190 Mon Sep 17 00:00:00 2001 From: Checksum Date: Tue, 17 Oct 2023 15:30:55 -0500 Subject: [PATCH] build: fix double compile --- .github/workflows/production.yml | 21 --------------------- .github/workflows/staging.yml | 21 --------------------- 2 files changed, 42 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 744f154..68f4e28 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -13,27 +13,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - - - name: set up cargo cache - uses: actions/cache@v3 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - ./target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- - - - name: Build - run: cargo build --release - - name: Login to GitHub Packages uses: docker/login-action@v3 with: diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index bba6bc1..ee268df 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -17,27 +17,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - - - name: set up cargo cache - uses: actions/cache@v3 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - ./target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- - - - name: Build - run: cargo build --release - - name: Login to GitHub Packages uses: docker/login-action@v3 with: