File tree Expand file tree Collapse file tree
actions/release-tag-creation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 echo "Release tag v${{ inputs.version }} pushed successfully (branch unchanged)."
9494 echo "tag_pushed=true" >> "$GITHUB_OUTPUT"
9595 fi
96+
97+ - name : Write job summary
98+ shell : bash
99+ run : |
100+ DRY_RUN="${{ inputs.dry_run }}"
101+ TAG_PUSHED="${{ steps.create-release-tag.outputs.tag_pushed }}"
102+ CHANNEL="${{ steps.handle-version-input.outputs.channel }}"
103+ BRANCH="${{ steps.handle-version-input.outputs.checkout_branch }}"
104+ STABLE_TAG="${{ steps.capture-readme.outputs.readme_stable_tag }}"
105+ BETA_TAG="${{ steps.capture-readme.outputs.readme_beta_tag }}"
106+
107+ if [[ "${DRY_RUN}" == "true" ]]; then
108+ MODE_BADGE="🔵 Dry Run"
109+ else
110+ MODE_BADGE="🚀 Live"
111+ fi
112+
113+ if [[ "${TAG_PUSHED}" == "true" ]]; then
114+ TAG_STATUS="✅ Pushed"
115+ else
116+ TAG_STATUS="⏭️ Skipped (dry run)"
117+ fi
118+
119+ {
120+ echo "## Release Tag Creation Report"
121+ echo ""
122+ echo "| Field | Value |"
123+ echo "| --- | --- |"
124+ echo "| **Mode** | ${MODE_BADGE} |"
125+ echo "| **Version** | \`${{ inputs.version }}\` |"
126+ echo "| **Channel** | ${CHANNEL} |"
127+ echo "| **Branch** | \`${BRANCH}\` |"
128+ echo "| **Tag pushed** | ${TAG_STATUS} |"
129+ echo "| **readme.txt stable tag** | \`${STABLE_TAG}\` |"
130+ echo "| **readme.txt beta tag** | \`${BETA_TAG}\` |"
131+ } >> "$GITHUB_STEP_SUMMARY"
You can’t perform that action at this time.
0 commit comments