-
Notifications
You must be signed in to change notification settings - Fork 11
34 lines (32 loc) · 819 Bytes
/
Copy pathtrigger-tag.yaml
File metadata and controls
34 lines (32 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Trigger On Tag
on:
push:
tags:
- '**'
workflow_dispatch:
inputs:
tag_name:
description: 'Tag name to process'
required: true
type: string
permissions:
contents: write
jobs:
create_release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- id: create_release
uses: ncipollo/release-action@v1
with:
tag: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
body: Automated release for tag ${{ github.ref_name }}
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
run-shared:
uses: ./.github/workflows/build-deb.yaml
secrets: inherit