Skip to content

Fix action/checkout version to v4 (#498) #257

Fix action/checkout version to v4 (#498)

Fix action/checkout version to v4 (#498) #257

Workflow file for this run

# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
name: Release to latest/edge
on:
push:
branches:
- 2/edge
jobs:
ci-tests:
name: Tests
uses: ./.github/workflows/ci.yaml
secrets: inherit
permissions:
contents: write # Needed for Allure Report beta
# release-libraries:
# name: Release libraries
# needs:
# - ci-tests
# runs-on: ubuntu-latest
# timeout-minutes: 60
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Release charm libraries
# uses: canonical/charming-actions/release-libraries@2.3.0
# with:
# credentials: ${{ secrets.CHARMHUB_TOKEN }}
# github-token: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v22.0.0
release:
name: Release charm
needs:
- build
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v22.0.0
with:
channel: 2/edge
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
secrets:
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}
permissions:
contents: write # Needed to create GitHub release