microdata_mirror/.github/workflows/version.yml

25 lines
520 B
YAML
Raw Normal View History

2023-05-29 17:29:04 +03:00
name: Bump version
on:
workflow_dispatch:
2023-11-24 17:58:53 +03:00
workflow_run:
workflows: ["Run tests"]
types:
- completed
2023-11-25 16:56:48 +03:00
branches:
- main
- master
2023-11-24 17:58:53 +03:00
2023-05-29 17:29:04 +03:00
jobs:
2023-11-25 16:39:16 +03:00
version:
2023-05-29 17:29:04 +03:00
runs-on: ubuntu-latest
2023-11-25 15:21:48 +03:00
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2023-05-29 17:29:04 +03:00
steps:
2023-11-24 17:58:53 +03:00
- name: Checkout
uses: actions/checkout@v4
2023-05-29 17:29:04 +03:00
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}