Change snapcraft build to use path required for snapcraft.io, and stop building in Github Actions CI

This commit is contained in:
Micah Lee 2022-10-06 09:40:43 -07:00
parent 702aac87e9
commit 567b477f52
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 17 additions and 17 deletions

View File

@ -1,5 +1,5 @@
name: Build
run-name: Build win32, win64, mac (Intel), snap (amd64) 🚀
run-name: Build win32, win64, mac (Intel) 🚀
on:
push:
branches:
@ -305,23 +305,23 @@ jobs:
name: mac-build
path: ~/onionshare-macos.tar.gz
build-snap:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# build-snap:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo lxd init --auto
sudo snap install snapcraft --classic
# - name: Install dependencies
# run: |
# sudo lxd init --auto
# sudo snap install snapcraft --classic
- name: Build snap
run: sudo snapcraft --use-lxd
# - name: Build snap
# run: sudo snapcraft --use-lxd
- uses: actions/upload-artifact@v3
with:
name: snapcraft-build
path: onionshare_*.snap
# - uses: actions/upload-artifact@v3
# with:
# name: snapcraft-build
# path: onionshare_*.snap
build-flatpak:
runs-on: ubuntu-latest

View File

@ -136,8 +136,8 @@ parts:
source-type: tar
plugin: autotools
autotools-configure-parameters:
# - "--with-libevent-dir=/build/onionshare/parts/libevent/install/usr/local"
- "--with-libevent-dir=/root/parts/libevent/install/usr/local"
- "--with-libevent-dir=/build/onionshare/parts/libevent/install/usr/local"
# - "--with-libevent-dir=/root/parts/libevent/install/usr/local"
build-packages:
- libssl-dev
- zlib1g-dev