Skip to content

Switch to redhat-plumbers-in-action Action #9

Switch to redhat-plumbers-in-action Action

Switch to redhat-plumbers-in-action Action #9

Workflow file for this run

name: Release
on:
push:
branches: [main]
workflow_dispatch:
jobs:
lint:
name: Lint
uses: "./.github/workflows/lint.yml"
test:
name: Test
uses: "./.github/workflows/test.yml"
publish-to-github-packages:
name: Publish to GitHub Packages
permissions:
contents: read
packages: write
needs:
- lint
- test
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: devcontainers/action@v1
with:
base-path-to-features: "./src"
generate-docs: "false"
publish-features: "true"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}