You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by pi...@apache.org on 2025/04/17 19:21:25 UTC

(iggy) branch master updated: fix(ci): fix tag created output in publish server worfklow and release_server workflow (#1706)

This is an automated email from the ASF dual-hosted git repository.

piotr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new b0156776 fix(ci): fix tag created output in publish server worfklow and release_server workflow (#1706)
b0156776 is described below

commit b0156776d35fa211a56b92dea52c519b48571d74
Author: Piotr Gankiewicz <pi...@gmail.com>
AuthorDate: Thu Apr 17 21:21:22 2025 +0200

    fix(ci): fix tag created output in publish server worfklow and release_server workflow (#1706)
    
    Co-authored-by: numinex <g....@gmail.com>
---
 .github/workflows/publish_server.yml |  2 +-
 .github/workflows/release_server.yml | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/publish_server.yml b/.github/workflows/publish_server.yml
index 8d9af206..6b1203c0 100644
--- a/.github/workflows/publish_server.yml
+++ b/.github/workflows/publish_server.yml
@@ -85,7 +85,7 @@ jobs:
 
     outputs:
       server_version: ${{ steps.extract_version.outputs.server_version }}
-      tag_created: ${{ steps.tagging.outputs.tag_created }}
+      tag_created: ${{ steps.check_git_tag.outputs.tag_matches }}
 
   release_and_publish:
     name: build release ${{ matrix.platform.os_name }}
diff --git a/.github/workflows/release_server.yml b/.github/workflows/release_server.yml
index 1916ae95..d7e2d011 100644
--- a/.github/workflows/release_server.yml
+++ b/.github/workflows/release_server.yml
@@ -57,12 +57,12 @@ jobs:
           tool: cross
 
       - name: Build iggy-server release binary for x86_64-unknown-linux-musl
-        run: cross +stable build --verbose --target x86_64-unknown-linux-musl --release --bin iggy-server
+        run: cross +stable build --verbose --target x86_64-unknown-linux-musl --release --bin iggy-server --target-dir target_x86
 
       - name: Prepare x86_64-unknown-linux-musl artifacts
         run: |
           mkdir -p all_artifacts/Linux-x86_64
-          cp target/x86_64-unknown-linux-musl/release/iggy-server all_artifacts/Linux-x86_64/
+          cp target_x86/x86_64-unknown-linux-musl/release/iggy-server all_artifacts/Linux-x86_64/
 
       - name: Prepare aarch64-unknown-linux-musl toolchain
         uses: actions-rs/toolchain@v1
@@ -72,12 +72,12 @@ jobs:
           target: aarch64-unknown-linux-musl
 
       - name: Build iggy-server release binary for aarch64-unknown-linux-musl
-        run: cross +stable build --verbose --target aarch64-unknown-linux-musl --release --bin iggy-server
+        run: cross +stable build --verbose --target aarch64-unknown-linux-musl --release --bin iggy-server --target-dir target_aarch64
 
       - name: Prepare aarch64-unknown-linux-musl artifacts
         run: |
           mkdir -p all_artifacts/Linux-aarch64
-          cp target/aarch64-unknown-linux-musl/release/iggy-server all_artifacts/Linux-aarch64/
+          cp target_aarch64/aarch64-unknown-linux-musl/release/iggy-server all_artifacts/Linux-aarch64/
 
       - name: Zip artifacts for each platform
         run: |
@@ -124,4 +124,4 @@ jobs:
 
       - name: Some checks failed
         if: ${{ contains(needs.*.result, 'failure') }}
-        run: exit 1
+        run: exit 1
\ No newline at end of file