File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 11name : .NET build and test
22env :
3- LAST_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
4- CURRENT_MAJOR_AND_MINOR_VERSION : 1.0
53 CURRENT_VERSION : 1.0.${{ github.run_number }}
4+ LAST_COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
65
76on :
87 push :
3332 git push origin --tags
3433 pwd
3534
36- deployTest :
35+ deployPreRelease :
3736 if : github.ref != 'refs/heads/main'
3837 runs-on : ubuntu-latest
3938 needs : build
4746 run : dotnet restore
4847 - name : Build
4948 run : dotnet build --configuration Release --no-restore
50- - name : AddTag
51- run : |
52- git tag ${{ env.CURRENT_VERSION }}
53- git push origin --tags
5449 - name : Publish
5550 run : dotnet publish --configuration Release --no-restore
5651 - name : NugetPush
8479 run : dotnet restore
8580 - name : Build
8681 run : dotnet build --configuration Release --no-restore
87- - name : AddTag
88- run : |
89- git tag ${{ env.CURRENT_VERSION }}
90- git push origin --tags
9182 - name : Publish
9283 run : dotnet publish --configuration Release --no-restore
9384 - name : NugetPush
You can’t perform that action at this time.
0 commit comments