From 6597a711bd4e182d1c09a8cb450317942c5a2621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Laitl?= Date: Tue, 4 Jul 2023 21:07:02 +0200 Subject: [PATCH] Drop the release-artifacts (.deb packages) CI job (#272) Follow-up to #203. In that issues we've found out that the built packages don't work correctly on some Debian versions. We've (@mcginty I think?) when manually removed them from the 1.5.4 release artifacts, and they have been provided by 3rd party repositories since. So drop the CI jobs. --- .github/workflows/release-artifacts.yml | 71 ------------------------- 1 file changed, 71 deletions(-) delete mode 100644 .github/workflows/release-artifacts.yml diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml deleted file mode 100644 index 8a847ad..0000000 --- a/.github/workflows/release-artifacts.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: "Upload Release Artifacts" - -on: - push: - tags: - - 'v*' - -jobs: - build-deb: - name: 'Build Debian packages' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Creating environment variables - run: echo "release_version=${git_ref#v}" >> $GITHUB_ENV - env: - git_ref: ${{ github.ref }} - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Install Dependencies - env: - ACCEPT_EULA: Y - run: sudo apt-get -y update && sudo apt-get install -f && sudo apt-get -y install libsqlite3-dev libclang-11-dev - - uses: Swatinem/rust-cache@v1 - - name: Build - uses: actions-rs/cargo@v1 - with: - command: build - args: --verbose - - name: Test - uses: actions-rs/cargo@v1 - with: - command: test - args: --verbose - - name: Install cargo-deb (if missing) - run: | - which cargo-deb || cargo install cargo-deb - - name: Build Debian Server Package - uses: actions-rs/cargo@v1 - with: - command: deb - args: -p server - - name: Build Debian Client Package - uses: actions-rs/cargo@v1 - with: - command: deb - args: -p client - - name: Save DEBs - uses: actions/upload-artifact@v2 - with: - name: packaged-deb - path: target/debian/*.deb - - release: - name: 'Release packages' - runs-on: ubuntu-latest - needs: [build-deb] - steps: - - name: Get artifacts - uses: actions/download-artifact@v2 - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: | - packaged-deb/*.deb - packaged-rpm/*.rpm - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}