@@ -237,18 +237,7 @@ jobs:
237237 /p:TELBlazorPackageSource=$TELBLAZOR_PACKAGE_SOURCE
238238 # /p:GhPageRelease=false \ qqqq is it still a thing?
239239
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
240+
252241
253242
254243# qqqq no longer needed
@@ -297,6 +286,19 @@ jobs:
297286 ./docs/.nojekyll # explicitly include the .nojekyll file
298287 retention-days : 90
299288
289+ - name : Get artifact location
290+ run : |
291+ # Get the artifact list for the current workflow run
292+ ARTIFACT_LIST=$(gh api "repos/TechnologyEnhancedLearning/TELBlazor/actions/runs/${GITHUB_RUN_ID}/artifacts")
293+ # Echo the entire artifact list for debugging purposes
294+ echo "Artifact List: $ARTIFACT_LIST"
295+ # Extract the download URL from the artifact list (first artifact in the list)
296+ #ARTIFACT_URL=$(echo "$ARTIFACT_LIST" | jq -r '.artifacts[0].archive_download_url')
297+ ARTIFACT_URL=$(echo "$ARTIFACT_LIST" | jq -r '.artifacts[0].url')
298+ # Echo the artifact URL to confirm
299+ echo "Artifact URL: $ARTIFACT_URL"
300+ echo "artifact_url=$ARTIFACT_URL" >> $GITHUB_ENV
301+
300302 - name : Trigger Workflow in TELBlazor-DevShowCase Repository
301303 run : |
302304 repo_owner="TechnologyEnhancedLearning"
0 commit comments