You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,15 @@ jobs:
11
11
runs-on: ubuntu-latest
12
12
steps:
13
13
- uses: actions/checkout@v2
14
-
- uses: NuGet/setup-nuget@v1.0.5
14
+
- uses: actions/setup-dotnet@v3.0.3
15
15
with:
16
-
nuget-api-key: ${{ secrets.NUGETAPIKEY }}
16
+
dotnet-version: '7'
17
17
- name: Nuget Push
18
+
env:
19
+
nuget_key: ${{ secrets.NUGETAPIKEY }}
18
20
run: |
19
21
Version=${GITHUB_REF:10}
20
22
dotnet build -c Release
21
23
sed -i "s/\(<MongoAnalyzerRuleSetVersion>\)[^<]*\(<\/MongoAnalyzerRuleSetVersion>\)/\1$version\2/" src/Cnblogs.Architecture.Ddd.Cqrs.MongoDb.Analyzer/build/Cnblogs.Architecture.Ddd.Cqrs.MongoDb.Analyzer.props
0 commit comments