mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-09 19:13:14 -06:00
32 lines
594 B
YAML
32 lines
594 B
YAML
name: 🚀 Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*.*'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build-n-publish:
|
|
permissions:
|
|
id-token: write
|
|
uses: ./.github/workflows/pypi.yml
|
|
|
|
create-release:
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: update latest tag
|
|
uses: richardsimko/update-tag@v1
|
|
with:
|
|
tag_name: latest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Generate New Release
|
|
run: gh release create ${{ github.ref }}
|