mirror of https://github.com/microsoft/autogen.git
enable lfs support in dotnet workflow (#2483)
* enable lfs support in dotnet workflow * Update dotnet-release.yml * Update dotnet-build.yml
This commit is contained in:
parent
7f1a810630
commit
2daae42708
|
@ -22,13 +22,15 @@ permissions:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
name: Dotnet Build
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: dotnet
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
|
@ -54,6 +56,8 @@ jobs:
|
|||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
|
|
|
@ -27,6 +27,8 @@ jobs:
|
|||
working-directory: dotnet
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
|
@ -66,4 +68,4 @@ jobs:
|
|||
$version = $metaInfoContent | Select-String -Pattern "<VersionPrefix>(.*)</VersionPrefix>" | ForEach-Object { $_.Matches.Groups[1].Value }
|
||||
git tag -a "$version" -m "AutoGen.Net release $version"
|
||||
git push origin --tags
|
||||
shell: pwsh
|
||||
shell: pwsh
|
||||
|
|
Loading…
Reference in New Issue