Skip to content

Commit b850d79

Browse files
authored
Add verification to build process
1 parent e45571d commit b850d79

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-process.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ jobs:
3838
arguments: --arg=USER=runner
3939
binarypath: ${{ github.workspace}}/out/linux-amd64/machinefile
4040

41+
- name: Verify execution
42+
run: |
43+
if [ -f /tmp/hello ]; then
44+
echo "Machinefile executed successfully"
45+
cat /tmp/hello
46+
else
47+
echo "Machinefile execution failed"
48+
exit 1
49+
fi
50+
4151
- name: Upload Artifact - amd64
4252
uses: actions/upload-artifact@v4
4353
with:
@@ -52,4 +62,4 @@ jobs:
5262
name: linux-arm64
5363
path: |
5464
./out/linux-arm64
55-
retention-days: 5
65+
retention-days: 5

0 commit comments

Comments
 (0)