File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
.github/actions/ci/bicep-standard-ci Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -317,4 +317,34 @@ runs:
317317 else
318318 echo "⚠️ Azure CLI not available, creating placeholder artifacts"
319319 echo "Bicep build would be executed here" > ./artifacts/placeholder.txt
320+ fi
321+
322+ - name : Upload Artifacts
323+ uses : actions/upload-artifact@v4
324+ with :
325+ name : artifacts-${{ steps.calculate_next_version.outputs.new_version }}
326+ path : ./artifacts
327+ compression-level : 6
328+ overwrite : true
329+ if-no-files-found : warn
330+ retention-days : 7
331+
332+ - name : Artifact Summary
333+ shell : bash
334+ run : |
335+ branch_name="${{ steps.branch_info.outputs.branch_name }}"
336+ version="${{ steps.calculate_next_version.outputs.new_version }}"
337+ should_publish="${{ steps.determine_release_type.outputs.should_publish }}"
338+
339+ echo "📦 Artifacts Summary:"
340+ echo " - Version: $version"
341+ echo " - Branch: $branch_name"
342+ echo " - Tag created: ✅"
343+ echo " - Artifacts uploaded: ✅"
344+ echo " - GitHub release will be published: $should_publish"
345+
346+ if [[ "$should_publish" == "false" ]]; then
347+ echo ""
348+ echo "ℹ️ This is a development build from a non-main branch."
349+ echo " Tag and artifacts are created for tracking, but no GitHub release is published."
320350 fi
You can’t perform that action at this time.
0 commit comments