mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
31 lines
821 B
YAML
31 lines
821 B
YAML
name: Tags
|
|
on:
|
|
release:
|
|
types: [published] # This makes it run only when a new released is published
|
|
|
|
jobs:
|
|
latest-release:
|
|
name: Add/update tag to new release
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
submodules: recursive
|
|
|
|
- name: Check for latest tag
|
|
id: latest-tag
|
|
run: |
|
|
source ./scripts/tag_latest_release.sh $(echo ${{ github.event.release.tag_name }}) --dry-run
|
|
|
|
- name: Run latest-tag
|
|
uses: ./.github/actions/latest-tag
|
|
if: (! ${{ steps.latest-tag.outputs.SKIP_TAG }} )
|
|
with:
|
|
description: Superset latest release
|
|
tag-name: latest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|