Skip to content

Commit 49198e5

Browse files
committed
cd: fix preview releases workflow
1 parent f728181 commit 49198e5

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
dotnet-version: |
3737
7.0.x
38-
8.0.x
38+
9.0.x
3939
cache: true
4040
cache-dependency-path: '**/packages.lock.json'
4141
- run: |
@@ -104,8 +104,8 @@ jobs:
104104
- name: Preview CHANGELOG
105105
if: needs.build.outputs.is_preview == 'True'
106106
run: |
107-
latest="$(gh release view --json tagName --jq .tagName)"
108-
python3 tools/ChangelogGenerator/changelog_generator.py --tag "${{ needs.build.outputs.tag }}" --latest "${latest}"
107+
$latest = gh release view --json tagName --jq .tagName
108+
python3 tools/ChangelogGenerator/changelog_generator.py --tag "${{ needs.build.outputs.tag }}" --latest "$latest"
109109
110110
- if: needs.build.outputs.is_release == 'True'
111111
uses: softprops/action-gh-release@v2

tools/Builder/Build.csx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ File.AppendAllText(GITHUB_STEP_SUMMARY, $"""
7474
<PackageReference Include="Maa.Framework" Version="{verStr}" />
7575
<PackageReference Include="Maa.Framework.Native" Version="{verStr}" />
7676
<PackageReference Include="Maa.Framework.Runtimes" Version="{runtimes}" />
77+
78+
<PackageReference Include="Maa.Framework.Binding" Version="{verStr}" />
79+
<PackageReference Include="Maa.Framework.Binding.Native" Version="{verStr}" />
80+
<PackageReference Include="Maa.Framework.Binding.Extensions" Version="{verStr}" />
7781
```
7882
7983
For more information, please read [add packages](https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/#add-packages).

0 commit comments

Comments
 (0)