Skip to content

Commit ab30856

Browse files
committed
chore: upload artifacts for test workflows
1 parent 988bec9 commit ab30856

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- 'package-lock.json'
88
- 'action.yml'
99
- 'node_modules/**'
10+
- '.github/workflows/test.yml'
1011

1112
name: Test this action
1213

@@ -41,4 +42,20 @@ jobs:
4142
ls ${{ steps.compiler.outputs.path }}
4243
wget https://raw.githubusercontent.com/pmmp/PHP-Binaries/master/compile.sh
4344
chmod a+x compile.sh
45+
trap "exit 1" ERR
4446
./compile.sh -t android-aarch64 -x -j4 -P5 -s
47+
48+
- name: Create tarball
49+
run: |
50+
tar -czf ./PHP-Linux-aarch64-PM5.tar.gz bin
51+
52+
- name: Upload artifacts
53+
uses: actions/upload-artifact@v4
54+
if: always()
55+
with:
56+
name: Linux-PM5
57+
path: |
58+
./PHP-Linux-aarch64-PM*.tar.gz
59+
install.log
60+
compile.sh
61+
if-no-files-found: error

0 commit comments

Comments
 (0)