diff --git a/.charmcraft-channel b/.charmcraft-channel new file mode 100644 index 0000000..c2c623b --- /dev/null +++ b/.charmcraft-channel @@ -0,0 +1 @@ +2.x/stable \ No newline at end of file diff --git a/.github/workflows/vsphere-integration.yaml b/.github/workflows/vsphere-integration.yaml index b526224..a60587c 100644 --- a/.github/workflows/vsphere-integration.yaml +++ b/.github/workflows/vsphere-integration.yaml @@ -9,6 +9,9 @@ jobs: steps: - name: Check out code uses: actions/checkout@v3 + - name: Read charmcraft version file + id: charmcraft + run: echo "channel=$(cat .charmcraft-channel)" >> $GITHUB_OUTPUT - name: Setup Python uses: actions/setup-python@v4 with: @@ -17,7 +20,8 @@ jobs: uses: charmed-kubernetes/actions-operator@main with: provider: vsphere - juju-channel: 3.1/stable + juju-channel: 3/stable + charmcraft-channel: ${{ steps.charmcraft.outputs.channel }} credentials-yaml: ${{ secrets.CREDENTIALS_YAML }} clouds-yaml: ${{ secrets.CLOUDS_YAML }} bootstrap-constraints: "arch=amd64 cores=2 mem=4G"