From 52bc65fea9b593e96ef395314a245e2c66f35756 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Thu, 9 Nov 2023 13:04:02 +0000 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 42 ---------------------------------- 1 file changed, 42 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30515fdf..d963ad62 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,50 +4,8 @@ name: Release to Charmhub on: push: - branches: - - main jobs: - lib-check: - name: Check libraries - runs-on: ubuntu-22.04 - timeout-minutes: 5 - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Check libs - uses: canonical/charming-actions/check-libraries@2.1.0 - with: - credentials: "${{ secrets.CHARMHUB_TOKEN }}" # FIXME: current token will expire in 2023-07-04 - github-token: "${{ secrets.GITHUB_TOKEN }}" - - ci-tests: - needs: - - lib-check - uses: ./.github/workflows/ci.yaml - secrets: inherit - permissions: - contents: write # Needed to login to Discourse - pull-requests: write # Need to create PR - actions: write - build: name: Build charm uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v2 - - release: - name: Release to Charmhub - needs: - - lib-check - - ci-tests - - build - uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v2 - with: - channel: 3/edge - artifact-name: ${{ needs.build.outputs.artifact-name }} - secrets: - charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} - permissions: - contents: write # Needed to create GitHub release