If the fork has a name different from 'ovs', then the job can't
find the packages to save as artifacts.  Fix that by using the
current repository name instead.

Fixes: 6cb2f5a630e3 ("github: Add GitHub Actions workflow.")
Signed-off-by: Ilya Maximets <[email protected]>
---
 .github/workflows/build-and-test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-and-test.yml 
b/.github/workflows/build-and-test.yml
index b53573a37..3c1a31bbf 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -665,7 +665,7 @@ jobs:
       uses: actions/upload-artifact@v7
       with:
         name: deb-packages-${{ matrix.dpdk }}-dpdk
-        path: '/home/runner/work/ovs/*.deb'
+        path: /home/runner/work/${{ github.event.repository.name }}/*.deb
 
   build-linux-rpm:
     name: linux rpm fedora
-- 
2.56.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to