Skip to content

Commit 138d142

Browse files
committed
test only publish on release tag
1 parent d890bdb commit 138d142

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Publish Release
22

33
on:
44
push:
5-
branches: [ "*" ]
6-
#tags:
7-
# - release/*
5+
branches: [ "main" ]
6+
tags:
7+
- release/*
88

99
jobs:
1010
build:
@@ -187,7 +187,7 @@ jobs:
187187
- name: Prepare local artifacts directory
188188
run: |
189189
mkdir -p artifacts/libpccl
190-
cp "${{ steps.strings-unix.outputs.build-output-dir }}/libpccl."* artifacts/libpccl/
190+
cp "${{ steps.strings-unix.outputs.build-output-dir }}/libpccl."* artifacts/lib/
191191
mkdir -p artifacts/include
192192
cp ./include/*.h artifacts/include/
193193
- name: Upload build artifacts
@@ -220,4 +220,4 @@ jobs:
220220
uses: actions/upload-artifact@v4
221221
with:
222222
name: pypccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ github.run_id }}
223-
path: ./python/framework/dist/pypccl-*.whl
223+
path: ./python/framework/dist/pypccl-*.whl

0 commit comments

Comments
 (0)