File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 # Allow manually trigger
1919 workflow_dispatch :
2020
21+ env :
22+ # Define the build number
23+ BUILD_NUMBER : ${{ github.run_number }}
24+ ARTIFACT_NAME : codebreaker-viewmodels
25+
2126jobs :
2227 build :
2328 uses : CodebreakerApp/Codebreaker.XAML/.github/workflows/createnuget-withbuildnumber.yml@main
2429 with :
2530 version-suffix : beta.
26- version-number : ${{ github.run_number }}
31+ version-number : $BUILD_NUMBER
2732 version-offset : 10
2833 solutionfile-path : src/CodeBreaker.ViewModels.sln
2934 projectfile-path : src/Codebreaker.ViewModels/Codebreaker.ViewModels.csproj
3035 dotnet-version : ' 8.0.x'
31- artifact-name : codebreaker-viewmodels
36+ artifact-name : $ARTIFACT_NAME
3237 branch-name : main
3338
3439 publishdevops :
3540 uses : CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-azuredevops.yml@main
3641 needs : build
3742 with :
38- artifact-name : codebreaker-viewmodels
43+ artifact-name : $ARTIFACT_NAME
3944 secrets : inherit
4045
41- # publishnuget:
42- # uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-nugetserver.yml@main
43- # needs: publishdevops
44- # with:
45- # artifact-name: codebreaker-viewmodels
46- # secrets: inherit
46+ publishnuget :
47+ uses : CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-nugetserver.yml@main
48+ needs : publishdevops
49+ with :
50+ artifact-name : $ARTIFACT_NAME
51+ secrets : inherit
You can’t perform that action at this time.
0 commit comments