From 2150aaf5cdc971cd906211e55c0d989896eb277e Mon Sep 17 00:00:00 2001 From: Alexandr Bogomyakov Date: Mon, 4 May 2020 12:14:33 +0300 Subject: [PATCH] Update CI procedures. --- .github/workflows/push-build.yml | 20 -------------------- .github/workflows/release-upload.yml | 25 ------------------------- 2 files changed, 45 deletions(-) delete mode 100644 .github/workflows/push-build.yml delete mode 100644 .github/workflows/release-upload.yml diff --git a/.github/workflows/push-build.yml b/.github/workflows/push-build.yml deleted file mode 100644 index 0d9ec12..0000000 --- a/.github/workflows/push-build.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Rust - -on: push - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Pre-build - run: sudo apt install -y libdbus-1-dev pkg-config libdbus-1-3 - - name: Build - run: cargo build --verbose --release - env: - RUST_BACKTRACE: 1 - - name: Strip - run: strip target/release/tmux-helper - diff --git a/.github/workflows/release-upload.yml b/.github/workflows/release-upload.yml deleted file mode 100644 index e964c5c..0000000 --- a/.github/workflows/release-upload.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Rust - -on: release - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Pre-build - run: sudo apt install -y libdbus-1-dev pkg-config libdbus-1-3 - - name: Build - run: cargo build --verbose --release - env: - RUST_BACKTRACE: 1 - - name: Strip - run: strip target/release/tmux-helper - - name: Upload to release - uses: JasonEtco/upload-to-release@master - with: - args: target/release/tmux-helper application/x-pie-executable - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}