Upload build artifact
This commit is contained in:
parent
9d108985aa
commit
22ea9842d4
|
@ -86,13 +86,20 @@ jobs:
|
|||
# zpool --version
|
||||
# END
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
python3 -m zipapp src/jlmkr -p "/usr/bin/env python3" -o jlmkr
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: jlmkr
|
||||
|
||||
# Run multiple commands using the runners shell
|
||||
- name: Run the test script
|
||||
env:
|
||||
PYTHONUNBUFFERED: 1
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 -m zipapp src/jlmkr -p "/usr/bin/env python3" -o jlmkr
|
||||
sudo chown 0:0 jlmkr ./test/test-jlmkr
|
||||
sudo bash ./test/test-jlmkr
|
||||
sudo ./test/test.sh
|
||||
|
|
Loading…
Reference in New Issue