Skip to content

Commit

Permalink
Rollback to custom pack method
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray committed Mar 5, 2025
1 parent 8c340f2 commit d800067
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions terraform-plans/templates/github/charm_check.yaml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,18 @@ jobs:
with:
submodules: true

- uses: canonical/craft-actions/charmcraft/pack@main
id: build
- uses: canonical/craft-actions/charmcraft/setup@main
with:
verbosity: verbose
channel: "${ charmcraft_channel }"

- name: Pack the charms
id: build
run: |
charmcraft -v pack
echo "charms=$(ls -1 *.charm | tr '\n' ' ')" >> "$GITHUB_OUTPUT"

- name: List the names of the built charms
run: echo "$${{ steps.build.outputs.charms}}"
run: echo "::notice::Successfully built $${{ steps.build.outputs.charms}}"

- name: Determine system architecture
run: echo "SYSTEM_ARCH=$(uname -m)" >> $GITHUB_ENV
Expand Down

0 comments on commit d800067

Please sign in to comment.