mirror of
https://github.com/apache/superset.git
synced 2024-09-18 11:39:49 -04:00
a3bbbf8ea3
* build: inline cached-dependencies to unblock CI * Run E2E on pull_request on;y * Inline all external actions * Checkout needed for internal actions Also fixes pre-commit * Add missing files
33 lines
780 B
YAML
33 lines
780 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 repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Check for latest tag
|
|
id: latest-tag
|
|
run: |
|
|
source ./scripts/tag_latest_release.sh $(echo ${{ github.event.release.tag_name }}) --dry-run
|
|
|
|
if ${SKIP_TAG}
|
|
then
|
|
echo "::set-env name=skip_tag::true"
|
|
fi
|
|
|
|
- name: Run latest-tag
|
|
uses: ./.github/actions/latest-tag
|
|
if: (! env.skip_tag )
|
|
with:
|
|
description: Superset latest release
|
|
tag-name: latest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|