Skip to content

Commit 29a6812

Browse files
committed
chore: enhance GitHub Actions workflow by adding dist directory creation and debugging file listings
1 parent f1abe85 commit 29a6812

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
go-version: ${{ matrix.go-version }}
5050
cache: true
5151

52+
- name: Create dist directory
53+
run: mkdir -p dist
54+
5255
- name: Build binary
5356
env:
5457
GOOS: linux
@@ -62,6 +65,9 @@ jobs:
6265
6366
# Create checksum file
6467
shasum -a 256 "dist/${{ env.BINARY_NAME }}-${{ matrix.os }}-${{ matrix.arch }}" > "dist/${{ env.BINARY_NAME }}-${{ matrix.os }}-${{ matrix.arch }}.sha256"
68+
69+
# List files for debugging
70+
ls -la dist/
6571
6672
- name: Upload build artifacts
6773
uses: actions/upload-artifact@v4
@@ -86,6 +92,11 @@ jobs:
8692
with:
8793
path: dist/
8894

95+
- name: List downloaded artifacts
96+
run: |
97+
echo "Downloaded artifacts:"
98+
find dist/ -type f -exec ls -la {} \;
99+
89100
- name: Create Release
90101
uses: softprops/action-gh-release@v1
91102
with:

0 commit comments

Comments
 (0)