Skip to content

Commit

Permalink
Try to use DLLs and drop python dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaopudark committed Aug 10, 2024
1 parent 611233b commit d4dd58d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Components-Tests-on-Windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Test components
shell: pwsh
run: |
./Scripts/test_components.ps1
./Scripts/test_APIs.ps1
. ./Scripts/test_components.ps1
. ./Scripts/test_APIs.ps1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
Expand Down
24 changes: 17 additions & 7 deletions Docs/APIs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,29 @@ All `public APIs` are recorded here.
[Get Gateway IP Address](https://blog.csdn.net/YOLO3/article/details/81117952)
[Select-String](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/select-string?view=powershell-7.3)

### Get-LatestGithubAPIRepoResponse
### Get-GitHubRepoInfoSnapshot

- **Description**

A function to apply the class LatestGithubAPIRepoResponse.
Return an instance of it.
Get some information's snapshot of a GitHub repository, and return a record of it.
- **Parameter** `$UserName`

The user name of the repo.
- **Parameter** `$RepoName`

The repo name.
- **Parameter** `$GithubPAT`

The GitHub Personal Access Token(PAT).
The PAT is needed to access the GitHub API.
- **Inputs**

None.
String.
String.
String.
- **Outputs**

LatestGithubAPIRepoResponse.
[GitHubRepoInfoSnapshot].

### Get-LocalHostIPV4

Expand Down Expand Up @@ -829,8 +840,7 @@ All `public APIs` are recorded here.
- **Synopsis**
The reverse operation of Register-AndBackupEnvItemForConda.
Retore an item from the current process level environment variable with the backup,
and remove the backup.
Retore an item from the current process level environment variable with the backup, and remove the backup.
- **Description**
See https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#saving-environment-variables.
Expand Down
2 changes: 1 addition & 1 deletion Scripts/commit_and_push.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ param (
)

$currentBranch = git rev-parse --abbrev-ref HEAD
if ($currentBranch -eq "main") {
if ($currentBranch -eq "dev") {
# 如果当前分支是 dev 分支,则进行 commit 操作
. "${PSScriptRoot}/build.ps1"
git add . # 添加需要提交的文件(假设你要提交所有文件)
Expand Down

0 comments on commit d4dd58d

Please sign in to comment.