Skip to content

Commit

Permalink
Merge pull request #176 from KenGrofork/patch-1
Browse files Browse the repository at this point in the history
Fix error
  • Loading branch information
lich0821 authored Jul 4, 2024
2 parents 94e1fef + 88c39eb commit 3e72fb0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/Build-WeChatFerry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
- name: 检出代码
uses: actions/checkout@v4

- name: 设置默认值
run: |
echo "USE_CACHE=yes" >> $GITHUB_ENV
echo "BUILD_CONFIGS=Release,Debug" >> $GITHUB_ENV
- name: 获取版本号和微信版本号
run: |
$version = (Select-String -Path "WeChatFerry/spy/spy.rc" -Pattern 'VALUE "FileVersion", "(.*)"').Matches.Groups[1].Value.Trim()
Expand Down Expand Up @@ -45,7 +40,6 @@ jobs:
- name: 设置缓存
id: cache-dependencies
# if: github.event.inputs.use_cache == 'yes'
uses: actions/cache@v4
with:
path: |
Expand All @@ -69,12 +63,10 @@ jobs:
- name: 解析并构建配置
run: |
# $configurations = "${{ github.event.inputs.build_configurations }}".Split(',')
$configurations = "Release,Debug".Split(',')
foreach ($config in $configurations) {
Write-Host "Building configuration: $config"
msbuild WeChatFerry/WeChatFerry.sln /p:Configuration=$config /p:Platform="x64" /verbosity:detailed
}
shell: pwsh

Expand Down

0 comments on commit 3e72fb0

Please sign in to comment.