Skip to content

Commit 0d3336b

Browse files
committed
update workflows
1 parent 49a9868 commit 0d3336b

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ on:
1717
required: false
1818
default: false
1919

20+
run-name: CI: Build and test mgconsole
21+
2022
jobs:
2123
build_and_test_ubuntu:
24+
name: Build and test mgconsole on Ubuntu
2225
runs-on: ubuntu-latest
2326
steps:
2427
- name: Pull latest memgraph image
@@ -40,6 +43,7 @@ jobs:
4043
path: build/Testing/Temporary/LastTest.log
4144

4245
build_windows_mingw:
46+
name: Build and test mgconsole on Windows
4347
runs-on: windows-latest
4448
defaults:
4549
run:
@@ -68,6 +72,7 @@ jobs:
6872
path: build/src/mgconsole.exe
6973

7074
build_apple:
75+
name: Build and test mgconsole on Apple
7176
runs-on: macos-latest
7277
steps:
7378
- name: Set-up repository
@@ -90,6 +95,7 @@ jobs:
9095

9196
build_and_test_static:
9297
if: ${{ inputs.build-static }}
98+
name: Build and test mgconsole static build
9399
strategy:
94100
fail-fast: false
95101
matrix:

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ env:
2222
S3_BUCKET: "${{ github.event.inputs.test-release == 'true' && 'deps.memgraph.io' || 'download.memgraph.com' }}"
2323
S3_BASE_PREFIX: "${{ github.event.inputs.test-release == 'true' && 'mgconsole-test' || 'mgconsole' }}/v${{ github.event.inputs.version }}"
2424

25+
run-name: Release ${{ github.event.inputs.version }} ${{ github.event.inputs.test-release == 'true' && 'test' || '' }}
26+
2527
jobs:
2628
build-and-push:
29+
name: Build and push Docker image
2730
runs-on: ubuntu-latest
2831
env:
2932
DOCKER_ORGANIZATION_NAME: memgraph
@@ -162,10 +165,10 @@ jobs:
162165

163166
- name: Compress binaries
164167
run: |
165-
tar -czvf mgconsole-${{ env.TAG }}-linux-x86_64.tar.gz linux-x86_64/mgconsole
166-
tar -czvf mgconsole-${{ env.TAG }}-linux-aarch64.tar.gz linux-aarch64/mgconsole
167-
tar -czvf mgconsole-${{ env.TAG }}-macos.tar.gz macos/mgconsole
168-
tar -czvf mgconsole-${{ env.TAG }}-windows.tar.gz windows/mgconsole.exe
168+
tar -czvf mgconsole-${{ env.TAG }}-linux-x86_64.tar.gz -C linux-x86_64 mgconsole
169+
tar -czvf mgconsole-${{ env.TAG }}-linux-aarch64.tar.gz -C linux-aarch64 mgconsole
170+
tar -czvf mgconsole-${{ env.TAG }}-macos.tar.gz -C macos mgconsole
171+
tar -czvf mgconsole-${{ env.TAG }}-windows.tar.gz -C windows mgconsole.exe
169172
170173
- name: Upload binaries to Release Linux X64
171174
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2

0 commit comments

Comments
 (0)