Skip to content

Commit f72a8f1

Browse files
committed
feat: Add checks for build directory in release workflow to ensure artifacts are present
1 parent d1906f3 commit f72a8f1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,27 @@ jobs:
3434
GOARCH=amd64
3535
go build -o build/whoisme_server ip/whoisme.go
3636
37+
- name: Check build directory
38+
run: ls -al build/
39+
3740
- name: Build ddns
3841
run: |
3942
GOOS=linux
4043
GOARCH=amd64
4144
go build -o build/ddns_client ddns/ddns.go
4245
46+
- name: Check build directory
47+
run: ls -al build/
48+
4349
- name: Upload Build Artifacts
4450
uses: actions/upload-artifact@v4
4551
with:
4652
name: go-binaries
4753
path: build/whoisme_server build/ddns_client # Use the correct paths
4854

55+
- name: Check build directory
56+
run: ls -al build/
57+
4958
- name: Create Release
5059
uses: softprops/action-gh-release@v2
5160
with:

0 commit comments

Comments
 (0)