mirror of https://github.com/stretchr/testify.git
19 lines
406 B
YAML
19 lines
406 B
YAML
name: Create release from new tag
|
|
|
|
# this flow will be run only when new tags are pushed that match our pattern
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v[0-9]+.[0-9]+.[0-9]+"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Create GitHub release from tag
|
|
uses: softprops/action-gh-release@v1 |