From 1a45acc677bf9dfb3c09f3ec772ec92d145c27fe Mon Sep 17 00:00:00 2001 From: Macpie Date: Tue, 14 May 2024 10:10:47 -0700 Subject: [PATCH] Test Debian packaging without tag --- .github/workflows/CI.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4064d2f0e..96c06963f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,15 +15,16 @@ env: jobs: on-failure: runs-on: oracles-20.04 - if: ${{ github.event.workflow_run.conclusion == 'failure' }} + if: ${{ github.event.workflow_run.conclusion == 'failure' }} steps: - run: echo 'The triggering workflow failed' on-success: runs-on: oracles-20.04 - concurrency: + concurrency: group: ${{ github.workflow }}-${{ github.ref }}-build-release cancel-in-progress: true - if: ${{ github.event.workflow_run.conclusion == 'success' }} && contains(github.ref, 'refs/tags/') + # if: ${{ github.event.workflow_run.conclusion == 'success' }} && contains(github.ref, 'refs/tags/') + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable @@ -43,13 +44,14 @@ jobs: ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - + - name: Build Release - run: cargo build --all --release + run: cargo build --all --release - name: Debian packaging env: - PACKAGECLOUD_API_KEY: ${{ secrets.PACKAGECLOUD_API_KEY }} + # PACKAGECLOUD_API_KEY: ${{ secrets.PACKAGECLOUD_API_KEY }} + PACKAGECLOUD_API_KEY: XXX run: | chmod +x ./.github/scripts/make_debian.sh ./.github/scripts/make_debian.sh