Skip to content

Commit

Permalink
chore: tweak vcpkg baseline workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirdEyeSqueegee committed Oct 14, 2024
1 parent 7f4eaf5 commit 774faa9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .github/update_vcpkg_baselines.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from json import dumps, load
from re import sub
from subprocess import run

vcpkg_repo = "https://github.com/microsoft/vcpkg"
Expand Down Expand Up @@ -32,13 +31,3 @@

with open("./vcpkg.json", "w", newline="\r\n") as f:
f.write(vcpkg_json_str)

with open("./.github/workflows/main_ci.yml") as f:
main_ci_yml = f.read()

main_ci_yml = sub(
r"(VCPKG_COMMIT_ID: ).*", f"VCPKG_COMMIT_ID: {vcpkg_ref}", main_ci_yml
)

with open("./.github/workflows/main_ci.yml", "w") as f:
f.write(main_ci_yml)
2 changes: 0 additions & 2 deletions .github/workflows/update_vcpkg_baselines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.EDIT_WORKFLOW_TOKEN }}

- name: Setup Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit 774faa9

Please sign in to comment.