Upload build artifact

This commit is contained in:
Jip-Hop 2024-07-16 16:50:45 +02:00
parent 9d108985aa
commit 22ea9842d4
1 changed files with 8 additions and 1 deletions

View File

@ -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