From 167340f8d59346d2f4575825a46208786591732f Mon Sep 17 00:00:00 2001 From: Ilya Zlobintsev Date: Sun, 14 May 2023 15:35:45 +0300 Subject: [PATCH] Revert "feat: parallel ci (#178)" This reverts commit 69eab70f1c14216431ac839837a654f058908ae8. --- .github/workflows/build-packages.yaml | 30 +++------------------------ 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build-packages.yaml b/.github/workflows/build-packages.yaml index 655a621..e422a7b 100644 --- a/.github/workflows/build-packages.yaml +++ b/.github/workflows/build-packages.yaml @@ -2,14 +2,10 @@ name: Build packages on: push: - branches: ['master'] - pull_request: + branches: ['v2', 'master'] jobs: build-packages: - strategy: - matrix: - target-os: [debian-12, ubuntu-2204, fedora-37, fedora-38] runs-on: ubuntu-latest steps: - name: Checkout repository @@ -21,7 +17,7 @@ jobs: sudo apt -y install /tmp/pkger.deb - name: Build packages - run: pkger -c .pkger.yml build lact -i ${{ matrix.target-os }} + run: pkger -c .pkger.yml build lact - name: Copy release files run: | @@ -44,33 +40,13 @@ jobs: done popd - - name: Upload artifacts - uses: actions/upload-artifact@v3 - with: - name: ${{ matrix.target-os }} - path: release-artifacts/* - - create-release: - needs: build-packages - runs-on: ubuntu-latest - if: (github.event_name == 'push' && github.ref == 'refs/heads/master') - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Download artifacts - uses: actions/download-artifact@v3 - with: - path: downloaded-artifacts/ - - name: Create release uses: ncipollo/release-action@v1.12.0 with: removeArtifacts: true allowUpdates: true artifactErrorsFailBuild: true - artifacts: "downloaded-artifacts/*/*" + artifacts: "release-artifacts/*" body: ${{ github.event.head_commit.message }} prerelease: true name: Test release