mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-07 22:32:58 -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
2 changed files with 17 additions and 17 deletions
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
name: Build
|
name: Build
|
||||||
run-name: Build win32, win64, mac (Intel), snap (amd64) 🚀
|
run-name: Build win32, win64, mac (Intel) 🚀
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -305,23 +305,23 @@ jobs:
|
||||||
name: mac-build
|
name: mac-build
|
||||||
path: ~/onionshare-macos.tar.gz
|
path: ~/onionshare-macos.tar.gz
|
||||||
|
|
||||||
build-snap:
|
# build-snap:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: |
|
# run: |
|
||||||
sudo lxd init --auto
|
# sudo lxd init --auto
|
||||||
sudo snap install snapcraft --classic
|
# sudo snap install snapcraft --classic
|
||||||
|
|
||||||
- name: Build snap
|
# - name: Build snap
|
||||||
run: sudo snapcraft --use-lxd
|
# run: sudo snapcraft --use-lxd
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
# - uses: actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: snapcraft-build
|
# name: snapcraft-build
|
||||||
path: onionshare_*.snap
|
# path: onionshare_*.snap
|
||||||
|
|
||||||
build-flatpak:
|
build-flatpak:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -136,8 +136,8 @@ parts:
|
||||||
source-type: tar
|
source-type: tar
|
||||||
plugin: autotools
|
plugin: autotools
|
||||||
autotools-configure-parameters:
|
autotools-configure-parameters:
|
||||||
# - "--with-libevent-dir=/build/onionshare/parts/libevent/install/usr/local"
|
- "--with-libevent-dir=/build/onionshare/parts/libevent/install/usr/local"
|
||||||
- "--with-libevent-dir=/root/parts/libevent/install/usr/local"
|
# - "--with-libevent-dir=/root/parts/libevent/install/usr/local"
|
||||||
build-packages:
|
build-packages:
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue