mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Change snapcraft build to use path required for snapcraft.io, and stop building in Github Actions CI
This commit is contained in:
parent
702aac87e9
commit
567b477f52
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user