generated from canonical/is-charms-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
630894c
commit 4cd5b01
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,16 +34,15 @@ jobs: | |
rm -rf .* * || : | ||
cp -rp $TEMP_DIR/. . | ||
rm -rf $TEMP_DIR | ||
- name: setup lxd | ||
uses: canonical/[email protected] | ||
- name: find rock | ||
id: rock-dir | ||
run: | | ||
echo rock-dir=`dirname *rock/rockcraft.yaml` >> $GITHUB_OUTPUT | ||
- name: build rock | ||
id: rockcraft | ||
run: | | ||
sudo snap install lxd | ||
sudo lxd init --auto | ||
sudo iptables -P FORWARD ACCEPT | ||
sudo snap install --channel stable --classic rockcraft | ||
cd ${{ steps.rock-dir.outputs.rock-dir }} | ||
rockcraft pack --verbosity trace | ||
|