Skip to content

Commit e402886

Browse files
authored
Update get_tag.yml
1 parent 15c23f9 commit e402886

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/get_tag.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- name: Checkout code
12-
uses: actions/checkout@v2
13-
14-
- name: Get latest tag
15-
id: get-latest-tag
16-
run: echo "::set-output name=tag::$(git describe --tags $(git rev-list --tags --max-count=1))"
17-
18-
your-other-job:
19-
runs-on: ubuntu-latest
20-
21-
needs: get-latest-tag
22-
23-
steps:
24-
- name: Use latest tag
11+
- name: Debug Latest Tag
2512
run: echo "Latest tag is ${{ needs.get-latest-tag.outputs.tag }}"
13+

0 commit comments

Comments
 (0)