Skip to content

Commit 16a2267

Browse files
committed
Keep deb artifacts inside workspace
1 parent 42a0e51 commit 16a2267

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deb.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,20 @@ jobs:
3333
- name: Build package
3434
run: |
3535
dpkg-buildpackage -us -uc
36+
mkdir -p artifacts
37+
find .. -maxdepth 1 -type f \( -name '*.deb' -o -name '*.dsc' -o -name '*.changes' -o -name '*.buildinfo' -o -name '*.tar.*' \) -exec mv {} artifacts/ \;
38+
ls -l artifacts
3639
3740
- name: Upload .deb artifacts
3841
uses: actions/upload-artifact@v4
3942
with:
4043
name: debs
41-
path: ../*.deb
44+
path: artifacts/*.deb
4245

4346
- name: Attach to GitHub Release
4447
if: startsWith(github.ref, 'refs/tags/')
4548
uses: softprops/action-gh-release@v2
4649
with:
47-
files: ../*.deb
50+
files: artifacts/*.deb
4851
env:
4952
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)