Skip to content

Commit

Permalink
Update publish_charm.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Jan 15, 2025
1 parent 630894c commit 4cd5b01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4cd5b01

Please sign in to comment.