Skip to content

Commit afb20ea

Browse files
committed
test: update snap workflow
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
1 parent 89dabd4 commit afb20ea

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ jobs:
139139
140140
build-snap:
141141
runs-on: ${{ matrix.os }}
142-
needs: ['build-linux']
142+
# if: github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main'
143+
# needs: ['build-linux']
143144

144145
strategy:
145146
matrix:

snap/snapcraft.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,10 @@ parts:
3333
- PYTHONPATH: ${CRAFT_PART_INSTALL}/lib/python3.12/site-packages
3434
override-pull: |
3535
craftctl default
36-
sed -i "/data_files=\[('share\/man\/man1', \['docs\/man\/tldr\.1'\])\],/d" setup.py
3736
override-build: |
3837
craftctl default
3938
cd $CRAFT_PART_SRC/docs
4039
make man
41-
mkdir -p $CRAFT_PART_INSTALL/share/man/man1
42-
cp -r $CRAFT_PART_SRC/docs/man/tldr.1 $CRAFT_PART_INSTALL/share/man/man1/tldr.1
4340
python-packages:
4441
- Sphinx
4542
- sphinx-argparse

0 commit comments

Comments
 (0)