Skip to content

Commit

Permalink
Merge pull request #51 from canonical/fix-relative-path
Browse files Browse the repository at this point in the history
Fix workflow for publishing charm library
  • Loading branch information
natalian98 authored Apr 5, 2023
2 parents 98b1602 + 06cf4f5 commit 69eae35
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/publish-lib.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/release_libs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Release charm's libraries if they have changed
name: Release Libraries

on:
push:
branches:
- main
paths:
- "lib/charms/kratos/**"

jobs:
release-libs:
name: Release any bumped library
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Release any bumped charm library
uses: canonical/charming-actions/release-libraries@main
with:
credentials: "${{ secrets.CHARMCRAFT_CREDENTIALS }}"
github-token: "${{ github.token }}"

0 comments on commit 69eae35

Please sign in to comment.