mirror of
https://github.com/sashacmc/photo-importer.git
synced 2026-06-15 16:57:03 +02:00
Change artifacts path
This commit is contained in:
1 parent
d509958874
commit
dc408f01f8
1 file changed
+8
-2
@@ -32,12 +32,18 @@ jobs:
|
||||
sudo apt-get build-dep .
|
||||
# Build the Debian package
|
||||
debuild -us -uc -b
|
||||
|
||||
- name: Create artifact directory
|
||||
run: mkdir -p artifacts
|
||||
|
||||
- name: Move Debian package to artifact directory
|
||||
run: mv ../*.deb artifacts/
|
||||
|
||||
- name: Test Debian package installation
|
||||
run: |
|
||||
sudo apt install -y pip python3-exif python3-progressbar exiftran python3-psutil
|
||||
sudo pip install PyExifTool
|
||||
sudo dpkg -i ../*.deb
|
||||
sudo dpkg -i artifacts/*.deb
|
||||
sudo systemctl enable photo-importer.service
|
||||
sudo systemctl restart photo-importer.service
|
||||
sudo systemctl status photo-importer.service
|
||||
@@ -47,4 +53,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: debian-package
|
||||
path: ../*.deb
|
||||
path: artifacts/*.deb
|
||||
Reference in new issue
Block a user