[Tarantool-patches] [PATCH v1] github-ci: fix git refs/heads paths mistakes

Alexander V. Tikhonov avtikhon at tarantool.org
Mon Dec 28 17:00:37 MSK 2020


Cc: tarantool-patches at dev.tarantool.org

Found that in previous commit to debian_11.yml file were made mistakes
in git refs/heads paths:

  e0a33ffed4a8934ed2cb44343ea5ce9d6958b780 ("github-ci: build packages for debian-bullseye")

This patch fixes it.

Follows up #5638
---

Github: https://github.com/tarantool/tarantool/tree/avtikhon/debian-11
Issue: https://github.com/tarantool/tarantool/issues/5638

 .github/workflows/debian_11.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/debian_11.yml b/.github/workflows/debian_11.yml
index 3261c9b4a..06008c231 100644
--- a/.github/workflows/debian_11.yml
+++ b/.github/workflows/debian_11.yml
@@ -33,9 +33,9 @@ jobs:
           GPG_SIGN_KEY: ${{ secrets.GPG_SIGN_KEY }}
         run: |
           if ${{ github.event_name == 'push' &&
-              ( github.ref == 'ref/head/master' ||
-                github.ref == 'ref/head/1.10' ||
-                startsWith(github.ref, 'refs/head/2.') ||
+              ( github.ref == 'refs/heads/master' ||
+                github.ref == 'refs/heads/1.10' ||
+                startsWith(github.ref, 'refs/heads/2.') ||
                 startsWith(github.ref, 'refs/tags') ) }} ; then
             sudo apt-get -y update
             sudo apt-get install -y procmail createrepo awscli reprepro
-- 
2.25.1



More information about the Tarantool-patches mailing list