Skip to content

Commit bdbeb26

Browse files
committed
feat: add file listing step in Docker workflow for release assets
- Introduced a new step to list available files in the release directory, providing visibility into main binaries, plugin files, and SHA256 files. - This enhancement aids in verifying the contents before creating a GitHub release, improving the deployment process.
2 parents 31775ce + 8074013 commit bdbeb26

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/docker-deploy.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,21 @@ jobs:
324324
cache-from: type=gha
325325
cache-to: type=gha,mode=max
326326

327+
- name: List available files for release
328+
working-directory: ./v2/bin
329+
run: |
330+
echo "Files available for release:"
331+
ls -la
332+
echo ""
333+
echo "Main binaries:"
334+
ls -la glauth-* 2>/dev/null || echo "No main binaries found"
335+
echo ""
336+
echo "Plugin files:"
337+
ls -la *.so 2>/dev/null || echo "No plugin files found"
338+
echo ""
339+
echo "SHA256 files:"
340+
ls -la *.sha256 2>/dev/null || echo "No SHA256 files found"
341+
327342
- name: Create GitHub Release
328343
uses: softprops/action-gh-release@v1
329344
with:
@@ -332,9 +347,6 @@ jobs:
332347
draft: false
333348
prerelease: false
334349
generate_release_notes: true
335-
files: |
336-
v2/bin/glauth-*
337-
v2/bin/*.so
338-
v2/bin/*.sha256
350+
files: v2/bin/*
339351
env:
340352
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)