File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,18 @@ jobs:
237237 /p:TELBlazorPackageSource=$TELBLAZOR_PACKAGE_SOURCE
238238 # /p:GhPageRelease=false \ qqqq is it still a thing?
239239
240-
240+ - name : Get artifact location
241+ run : |
242+ # Get the artifact list for the current workflow run
243+ ARTIFACT_LIST=$(gh api "repos/TechnologyEnhancedLearning/TELBlazor/actions/runs/${GITHUB_RUN_ID}/artifacts")
244+ # Echo the entire artifact list for debugging purposes
245+ echo "Artifact List: $ARTIFACT_LIST"
246+ # Extract the download URL from the artifact list (first artifact in the list)
247+ #ARTIFACT_URL=$(echo "$ARTIFACT_LIST" | jq -r '.artifacts[0].archive_download_url')
248+ ARTIFACT_URL=$(echo "$ARTIFACT_LIST" | jq -r '.artifacts[0].url')
249+ # Echo the artifact URL to confirm
250+ echo "Artifact URL: $ARTIFACT_URL"
251+ echo "artifact_url=$ARTIFACT_URL" >> $GITHUB_ENV
241252
242253
243254# qqqq no longer needed
@@ -279,7 +290,7 @@ jobs:
279290 - name : Creating artifact of publish folder for test gh page workflow
280291 uses : actions/upload-artifact@v4
281292 with :
282- name : gh-blazor -components-wiki-site -using-package-${{env.DEV_TELBLAZOR_PACKAGE_VERSION}}
293+ name : published-telblazor -components-showcase-wasmstaticclient -using-dev -package-${{env.DEV_TELBLAZOR_PACKAGE_VERSION}}
283294 include-hidden-files : true
284295 path : |
285296 ./docs
You can’t perform that action at this time.
0 commit comments