Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
okineadev authored Apr 11, 2024
1 parent 1e03fb9 commit fc70e3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ jobs:
- name: 🛠️ Build Snap package
run: |
sudo iptables -P FORWARD ACCEPT
sudo snap install snapcraft --classic
sudo snap install lxd
sudo usermod -a -G lxd $USER
echo "root:1000000:1000000000" | sudo tee -a /etc/subuid /etc/subgid
sudo lxd init --minimal
sudo snap run lxd init --auto
sudo snap run lxd waitready
# Login
export SNAPCRAFT_STORE_CREDENTIALS="${{ secrets.SNAPCRAFT_CREDENTIALS }}"
Expand All @@ -71,7 +72,7 @@ jobs:
sed -i "s/@@VERSION@@/$release_version/g" snap/snapcraft.yaml
# Build snap package
snapcraft --verbose
sg lxd -c 'snap run snapcraft --verbose'
- name: 📦 Upload package to Ubuntu PPA
run: |
Expand Down

0 comments on commit fc70e3a

Please sign in to comment.