From 1e6e604bcff6672113bc985821830fa8e6db04b7 Mon Sep 17 00:00:00 2001 From: Daniil Zakhlystov <47750602+usernamedt@users.noreply.github.com> Date: Mon, 22 Apr 2024 13:06:26 +0200 Subject: [PATCH] Add release logic to CI --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db7f33c..c3012a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build and install deb packages +name: Build, install and test mdb-locales deb packages on: push: @@ -39,10 +39,17 @@ jobs: run: dpkg-buildpackage -us -uc - uses: actions/upload-artifact@v4 with: - name: upload-artifacts + name: mdb-locales-build-artifacts path: | ./mdb-locales* ./libmdblocales* + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + ./mdb-locales* + ./libmdblocales* patch_and_build_postgresql: runs-on: ubuntu-22.04