1name: Release 2 3on: 4 push: 5 tags: 6 - tracing-[0-9]+.* 7 - tracing-[a-z]+-[0-9]+.* 8 9jobs: 10 create-release: 11 name: Create GitHub release 12 # only publish from the origin repository 13 if: github.repository_owner == 'tokio-rs' 14 runs-on: ubuntu-latest 15 steps: 16 - uses: actions/checkout@v3 17 - uses: taiki-e/create-gh-release-action@v1 18 with: 19 prefix: tracing(-[a-z]+)? 20 changelog: "$prefix/CHANGELOG.md" 21 title: "$prefix $version" 22 branch: v0.1.x 23 env: 24 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 25