# Release Workflow
# References shared workflow from axci
# check + test must pass before release
name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-pre.[0-9]+'
jobs:
check:
uses: arceos-hypervisor/axci/.github/workflows/check.yml@main
test:
uses: arceos-hypervisor/axci/.github/workflows/test.yml@main
release:
needs:
uses: arceos-hypervisor/axci/.github/workflows/release.yml@main
with:
verify_branch: true
verify_version: true
secrets:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}