Skip to content

Commit c7006d9

Browse files
author
ChristianHaase
committed
test
1 parent 408284f commit c7006d9

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
env:
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

1314
jobs:
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

0 commit comments

Comments
 (0)