Skip to content

Commit

Permalink
Change artifacts path
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jul 8, 2024
1 parent d509958 commit dc408f0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-debian-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,4 +53,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: debian-package
path: ../*.deb
path: artifacts/*.deb

0 comments on commit dc408f0

Please sign in to comment.