Skip to content

Commit c252c7f

Browse files
authored
Merge pull request #53 from TechnologyEnhancedLearning/master
cicd changes
2 parents f90b57a + 2555393 commit c252c7f

File tree

2 files changed

+161
-14
lines changed

2 files changed

+161
-14
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,18 @@ jobs:
133133
run: npm ci
134134
#CI is an install with adhering to package-lock
135135

136-
- name: Build solution without generating new package
137-
env:
138-
#Overwrite package generation
139-
DISABLE_PACKAGE_GENERATION: true
140-
run: |
141-
dotnet build TELBlazor.sln -c Release \
142-
/p:TELBlazorPackageVersion=$TELBLAZOR_PACKAGE_VERSION \
143-
/p:NupkgOutputPath=$TELBLAZOR_PACKAGE_LOCAL_OUTPUT_PATH \
144-
/p:UseTELBlazorComponentsProjectReference=$USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE \
145-
/p:TELBlazorPackageSource=$TELBLAZOR_PACKAGE_SOURCE \
146-
/p:DisablePackageGeneration=$DISABLE_PACKAGE_GENERATION \
147-
/p:E2ETracingEnabled=$E2E_TRACING_ENABLED
136+
# - name: Build solution without generating new package
137+
# env:
138+
# #Overwrite package generation
139+
# DISABLE_PACKAGE_GENERATION: true
140+
# run: |
141+
# dotnet build TELBlazor.sln -c Release \
142+
# /p:TELBlazorPackageVersion=$TELBLAZOR_PACKAGE_VERSION \
143+
# /p:NupkgOutputPath=$TELBLAZOR_PACKAGE_LOCAL_OUTPUT_PATH \
144+
# /p:UseTELBlazorComponentsProjectReference=$USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE \
145+
# /p:TELBlazorPackageSource=$TELBLAZOR_PACKAGE_SOURCE \
146+
# /p:DisablePackageGeneration=$DISABLE_PACKAGE_GENERATION \
147+
# /p:E2ETracingEnabled=$E2E_TRACING_ENABLED
148148

149149
- name: Build and pack TELBlazor.Components
150150
env:
@@ -236,16 +236,21 @@ jobs:
236236
env:
237237
#Overwrite package generation
238238
DISABLE_PACKAGE_GENERATION: true
239+
USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE: false
239240
run: |
240241
dotnet build TELBlazor.sln -c Release \
241-
/p:TELBlazorPackageVersion=$DEV_TELBLAZOR_PACKAGE_VERSION \
242+
/p:TELBlazorPackageVersion=$TELBLAZOR_PACKAGE_VERSION \
242243
/p:NupkgOutputPath=$TELBLAZOR_PACKAGE_LOCAL_OUTPUT_PATH \
243244
/p:UseTELBlazorComponentsProjectReference=$USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE \
244245
/p:TELBlazorPackageSource=$TELBLAZOR_PACKAGE_SOURCE \
245246
/p:DisablePackageGeneration=$DISABLE_PACKAGE_GENERATION \
246247
/p:E2ETracingEnabled=$E2E_TRACING_ENABLED
247248
248249
- name: Publish WasmStaticClient TELBlazor ShowCase
250+
env:
251+
#Overwrite package generation
252+
DISABLE_PACKAGE_GENERATION: true
253+
USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE: false
249254
run: |
250255
dotnet publish ./TELBlazor.Components.ShowCase.WasmStaticClient/TELBlazor.Components.ShowCase.WasmStaticClient.csproj --configuration Release \
251256
/p:TELBlazorPackageVersion=$TELBLAZOR_PACKAGE_VERSION \
@@ -257,4 +262,4 @@ jobs:
257262
uses: JamesIves/github-pages-deploy-action@v4
258263
with:
259264
folder: docs # The folder the action should deploy
260-
branch: gh-pages # The branch the action should deploy to
265+
branch: gh-pages # The branch the action should deploy to

0 commit comments

Comments
 (0)