This repository was archived by the owner on Dec 29, 2023. It is now read-only.
File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 17
17
- name : Publish to Snap Store
18
18
run : |
19
19
echo "${{ secrets.SNAP_DEPLOY_TOKEN }}" > token.txt
20
+ cat token.txt | base64 --decode --ignore-garbage > ~/.snapcraft/snapcraft.cfg
20
21
# if: github.ref == 'refs/heads/master'
21
22
snapcraft upload --release=edge *.snap
22
23
Original file line number Diff line number Diff line change 37
37
command-chain : &command-chain-common
38
38
- bin/debian-multiarch-triplet-provider-launch
39
39
- bin/classic-launch
40
- - bin/desktop-launch
41
40
- bin/guiscrcpy
42
- desktop : share/applications/guiscrcpy.desktop
43
41
44
42
parts :
45
43
@@ -61,12 +59,13 @@ parts:
61
59
after : [classic-launch, debian-multiarch-triplet-provider-launch]
62
60
# See 'snapcraft plugins'
63
61
build-packages :
64
- - python3-build
62
+ - python3-pip
65
63
override-build : |
66
- python -m build .
67
- tar -xvf dist/*.tar.gz setup.py
68
- rm -rf dist
69
- snapcraftctl build
64
+ python -m venv $SNAPCRAFT_PART_INSTALL
65
+ source $SNAPCRAFT_PART_INSTALL/bin/activate
66
+ pip install poetry
67
+ python -m poetry install -E PySide2 --no-dev
68
+ ls -al $SNAPCRAFT_PART_INSTALL
70
69
plugin : python
71
70
source : .
72
71
You can’t perform that action at this time.
0 commit comments