-
Notifications
You must be signed in to change notification settings - Fork 9
48 lines (44 loc) · 1.1 KB
/
tag.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<<<<<<< before updating
=======
---
>>>>>>> after updating
name: Tagged Releases
on:
push:
tags:
- "v*" # Only tags starting with "v" for "v1.0.0", etc.
jobs:
get_tag_version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get_version.outputs.version }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Extract tag name
id: get_version
<<<<<<< before updating
run: echo "::set-output name=version::$(echo ${GITHUB_REF#refs/tags/v})"
=======
run: echo "version=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
>>>>>>> after updating
call_central_workflow:
needs: get_tag_version
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main
with:
<<<<<<< before updating
setup-vault: true
=======
deploy-docs: true
>>>>>>> after updating
release: true
version: ${{ needs.get_tag_version.outputs.version }}
permissions:
contents: write
id-token: write
<<<<<<< before updating
=======
pages: write
>>>>>>> after updating
pull-requests: read
secrets: inherit