Skip to content

Commit b416882

Browse files
committed
ci: add artifact inspection step, show gh release create traces
1 parent 9914cc0 commit b416882

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/build-release.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,18 @@ jobs:
141141
- uses: actions/download-artifact@v8
142142
with:
143143
path: artifacts
144+
- name: Inspect downloaded artifacts
145+
run: find artifacts -type f -ls
144146
- name: Create GitHub Release
145147
env:
146148
GH_TOKEN: ${{ github.token }}
147149
run: |
148150
TAG="${{ github.event.inputs.tag }}"
149151
[ -z "$TAG" ] && TAG="${GITHUB_REF_NAME}"
150152
echo "Creating release for tag: $TAG"
153+
set -x
151154
gh release create "$TAG" \
152155
artifacts/imgex-windows/imgex.exe \
153156
artifacts/imgex-macos/imgex \
154157
artifacts/imgex-linux/imgex \
155-
--generate-notes --title "imgex $TAG"
158+
--generate-notes --title "imgex $TAG" 2>&1

0 commit comments

Comments
 (0)