mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2026-03-11 14:04:23 +00:00
Update build-snapcraft.yml
This commit is contained in:
parent
3fcb09aaef
commit
2308302691
1 changed files with 3 additions and 9 deletions
12
.github/workflows/build-snapcraft.yml
vendored
12
.github/workflows/build-snapcraft.yml
vendored
|
|
@ -12,16 +12,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '>=1.24'
|
||||
check-latest: true
|
||||
cache: false
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt install -y gcc xorg-dev libgtk-3-dev libgl1-mesa-dev libglu1-mesa wget snapd
|
||||
sudo apt install -y gcc xorg-dev libgtk-3-dev libgl1-mesa-dev libglu1-mesa wget snapd lxd
|
||||
sudo snap refresh
|
||||
sudo snap install snapcraft --classic
|
||||
|
||||
|
|
@ -32,7 +25,8 @@ jobs:
|
|||
- name: Build Snapcraft
|
||||
run: |
|
||||
cd src
|
||||
sudo lxd init --auto
|
||||
sudo usermod -aG lxd $USER
|
||||
sudo lxd init
|
||||
snapcraft
|
||||
|
||||
- name: Upload artifacts
|
||||
|
|
|
|||
Loading…
Reference in a new issue