From 2bb4fea42d8273c6fe1f130b0dee44aedeb81a8a Mon Sep 17 00:00:00 2001 From: BryanSchroeder Date: Tue, 10 Dec 2024 13:32:37 -0500 Subject: [PATCH] reversing some of the test adjustments --- .github/workflows/host-test.yml | 3 +-- tmp_deploy.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/host-test.yml b/.github/workflows/host-test.yml index 5406f44c..c82b1913 100644 --- a/.github/workflows/host-test.yml +++ b/.github/workflows/host-test.yml @@ -75,8 +75,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} PR_NUMBER: ${{ github.event.inputs.pr_number }} - WORKFLOW_NAME: Host%20Test%20App - ARTIFACT_NAME: dist-artifact + ARTIFACT_ID: ${{ env.artifact_id }} GITHUB_OWNER: snehilvj FILE_FULLNAME: dash_mantine_components-${{ env.version }}-py3-none-any.whl PACKAGE_NAME: dash_mantine_components diff --git a/tmp_deploy.py b/tmp_deploy.py index 12a43e0c..cbf23b4c 100644 --- a/tmp_deploy.py +++ b/tmp_deploy.py @@ -35,7 +35,7 @@ "content": file.read(), } -new_package = f'{os.getenv("PACKAGE_NAME")} @ https://py.cafe/gh/artifact/{os.getenv("GITHUB_REPOSITORY")}/pull/{PR_NUMBER}/{os.getenv("WORKFLOW_NAME")}/{os.getenv("ARTIFACT_NAME")}/{os.getenv("FILE_FULLNAME")}' +new_package = f'{os.getenv("PACKAGE_NAME")} @ https://py.cafe/gh/artifact/{os.getenv("GITHUB_REPOSITORY")}/{os.getenv("ARTIFACT_ID")}/{os.getenv("FILE_FULLNAME")}' if os.getenv("PACKAGE_NAME") in reqs["content"]: reqs["content"] = reqs["content"].replace(os.getenv("PACKAGE_NAME"), new_package) else: