From f2bf7ed2a20af039f3892b3761e1e856f4d9719c Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Wed, 26 Jun 2024 17:44:20 -0400 Subject: [PATCH] fix Py wheel dir; fix regex; --- .github/workflows/build-wheels.yml | 2 +- .github/workflows/publish-docker-images.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 567f7046..c17248d2 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -62,7 +62,7 @@ jobs: run: | ls -lR ./download/ mkdir dist - cp ./download/*/* ./dist/ + cp ./download/* ./dist/ - name: Publish wheels (TestPYPI) uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/publish-docker-images.yml b/.github/workflows/publish-docker-images.yml index fdabfc14..937c2884 100644 --- a/.github/workflows/publish-docker-images.yml +++ b/.github/workflows/publish-docker-images.yml @@ -39,14 +39,16 @@ jobs: uses: dsaltares/fetch-gh-release-asset@1.1.2 with: version: tags/v${{ steps.semver.outputs.zrok_semver }} - file: zrok*_linux_amd64.tar.gz + file: zrok.*_linux_amd64.tar.gz + regex: true target: dist/amd64/linux/zrok_linux_amd64.tar.gz - name: Download Linux ARM64 Release Artifact uses: dsaltares/fetch-gh-release-asset@1.1.2 with: version: tags/v${{ steps.semver.outputs.zrok_semver }} - file: zrok*_linux_arm64.tar.gz + file: zrok.*_linux_arm64.tar.gz + regex: true target: dist/arm64/linux/zrok_linux_arm64.tar.gz - name: Unpack the Release Artifacts