mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-04-25 04:42:13 +00:00
28 lines
No EOL
697 B
YAML
28 lines
No EOL
697 B
YAML
##
|
|
# Publish new action tag(s) for downstream consumption
|
|
##
|
|
name: Publish
|
|
|
|
# Manual or automatic release
|
|
on:
|
|
release:
|
|
types: [published, edited]
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.event.release.tag_name }}
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v3
|
|
|
|
# Compile dist/index.js and bundle with action.yml
|
|
# Force push major and minor tags, e.g. v1, v1.0
|
|
# See documentation: https://github.com/JasonEtco/build-and-tag-action
|
|
- uses: JasonEtco/build-and-tag-action@v2
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }} |