Skip to content

Commit d48c369

Browse files
committed
fix artifact conflicts
1 parent 4910261 commit d48c369

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
39-
os: [ubuntu-24.04]
40-
runs-on: ${{ matrix.os }}
39+
env:
40+
OS: ubuntu-24.04
41+
runs-on: ${{ env.OS }}
4142
steps:
4243
- name: Checkout Repository
4344
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -62,7 +63,7 @@ jobs:
6263
- name: Install Memgraph
6364
run: |
6465
mkdir /home/runner/memgraph
65-
curl -L https://download.memgraph.com/memgraph/v${{env.MG_VERSION}}/${{ matrix.os }}/memgraph_${{env.MG_VERSION}}-1_amd64.deb --output /home/runner/memgraph/memgraph-community.deb
66+
curl -L https://download.memgraph.com/memgraph/v${{env.MG_VERSION}}/${{ env.OS }}/memgraph_${{env.MG_VERSION}}-1_amd64.deb --output /home/runner/memgraph/memgraph-community.deb
6667
sudo dpkg -i /home/runner/memgraph/memgraph-community.deb
6768
sudo systemctl stop memgraph
6869
sudo runuser -l memgraph -c '/usr/lib/memgraph/memgraph --bolt-port 7687 --data-directory="/var/lib/memgraph/data" --storage-properties-on-edges=true --storage-snapshot-interval-sec=0 --storage-wal-enabled=false --storage-snapshot-on-exit=false --telemetry-enabled=false --log-level=TRACE --also-log-to-stderr=true --log-file=/var/log/memgraph/memgraph-ubuntu-${{ matrix.python-version }}.log' &
@@ -136,7 +137,7 @@ jobs:
136137
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
137138
if: always()
138139
with:
139-
name: memgraph-logs-${{ matrix.os }}-py${{ matrix.python-version }}
140+
name: memgraph-logs-${{ env.OS }}-py${{ matrix.python-version }}
140141
path: /var/log/memgraph
141142
overwrite: true
142143

@@ -147,8 +148,9 @@ jobs:
147148
fail-fast: false
148149
matrix:
149150
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
150-
os: [windows-latest]
151-
runs-on: ${{ matrix.os }}
151+
env:
152+
OS: windows-latest
153+
runs-on: ${{ env.OS }}
152154
steps:
153155
- name: Checkout Repository
154156
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -271,15 +273,15 @@ jobs:
271273
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
272274
if: always()
273275
with:
274-
name: memgraph-log
276+
name: memgraph-logs-${{ env.OS }}-py${{ matrix.python-version }}
275277
path: C:\memgraph
276278
overwrite: true
277279

278280
- name: Save Neo4j Logs
279281
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
280282
if: always()
281283
with:
282-
name: neo4j-log
284+
name: neo4j-logs-${{ env.OS }}-py${{ matrix.python-version }}
283285
path: C:\neo4j
284286
overwrite: true
285287

0 commit comments

Comments
 (0)