This repository was archived by the owner on Dec 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1414 sudo snap install --classic snapcraft
1515 snapcraft --destructive-mode
1616
17+ - name : Upload artifact
18+ 19+ with :
20+ name : guiscrcpy-snap
21+ path : ' *.snap'
22+
23+
1724 - name : Publish to Snap Store
1825 run : |
1926 echo "${{ secrets.SNAP_DEPLOY_TOKEN }}" > token.txt
27+ mkdir -p ~/.snapcraft
28+ cat token.txt | base64 --decode --ignore-garbage > ~/.snapcraft/snapcraft.cfg
2029 # if: github.ref == 'refs/heads/master'
2130 snapcraft upload --release=edge *.snap
2231
Original file line number Diff line number Diff line change 3737 command-chain : &command-chain-common
3838 - bin/debian-multiarch-triplet-provider-launch
3939 - bin/classic-launch
40- - bin/desktop-launch
4140 - bin/guiscrcpy
42- desktop : share/applications/guiscrcpy.desktop
4341
4442parts :
4543
@@ -61,12 +59,13 @@ parts:
6159 after : [classic-launch, debian-multiarch-triplet-provider-launch]
6260 # See 'snapcraft plugins'
6361 build-packages :
64- - python3-build
62+ - python3-pip
6563 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
7069 plugin : python
7170 source : .
7271
You can’t perform that action at this time.
0 commit comments