diff --git a/.github/workflows/release_libs.yaml b/.github/workflows/release_libs.yaml new file mode 100644 index 00000000..608b8ee3 --- /dev/null +++ b/.github/workflows/release_libs.yaml @@ -0,0 +1,23 @@ +name: Release Charm Library + +on: + push: + branches: + - main + paths: + - "lib/charms/glauth_k8s/**" + +jobs: + release-libs: + name: Release charm library + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Release charm library + uses: canonical/charming-actions/release-libraries@main + with: + credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }} + github-token: ${{ secrets.GITHUB_TOKEN }}