Skip to content

Commit

Permalink
Merge pull request #455 from BSd3v/updating-test-flow
Browse files Browse the repository at this point in the history
reversing some of the test adjustments
  • Loading branch information
AnnMarieW authored Dec 10, 2024
2 parents 6d3a1e5 + 2bb4fea commit 758065c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/host-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tmp_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 758065c

Please sign in to comment.