File tree Expand file tree Collapse file tree 1 file changed +20
-15
lines changed Expand file tree Collapse file tree 1 file changed +20
-15
lines changed Original file line number Diff line number Diff line change 99env :
1010 CI_BUILD_NUMBER_BASE : ${{ github.run_number }}
1111 CI_TARGET_BRANCH : ${{ github.head_ref || github.ref_name }}
12+ PR_RUN : ${{ github.event_name == 'pull_request' }}
1213
1314jobs :
1415 build :
@@ -21,20 +22,24 @@ jobs:
2122
2223 steps :
2324 - uses : actions/checkout@v5
24- - name : Setup .NET
25- uses : actions/setup-dotnet@v5
26- with :
27- dotnet-version : 10.0.x
28- - name : Compute and set build number
25+ # - name: Setup .NET
26+ # uses: actions/setup-dotnet@v5
27+ # with:
28+ # dotnet-version: 10.0.x
29+ # - name: Compute and set build number
30+ # shell: bash
31+ # run: |
32+ # echo "CI_BUILD_NUMBER=$(($CI_BUILD_NUMBER_BASE+1000))" >> $GITHUB_ENV
33+ - name : TEST PR RUN CHECK
2934 shell : bash
3035 run : |
31- echo "CI_BUILD_NUMBER= $(($CI_BUILD_NUMBER_BASE+1000 ))" >> $GITHUB_ENV
32- - name : Build & Push
33- env :
34- DOTNET_CLI_TELEMTRY_OPTOUT : true
35- DUMMY : ${{ secrets.DUMMY }}
36- # NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
37- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38- shell : pwsh
39- run : |
40- ./Build.ps1
36+ echo "$(($PR_RUN ))"
37+ # - name: Build & Push
38+ # env:
39+ # DOTNET_CLI_TELEMTRY_OPTOUT: true
40+ # DUMMY: ${{ secrets.DUMMY }}
41+ # NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
42+ # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+ # shell: pwsh
44+ # run: |
45+ # ./Build.ps1
You can’t perform that action at this time.
0 commit comments