We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a4c457 commit bb46de3Copy full SHA for bb46de3
.github/workflows/build-test-release.yml
@@ -11,6 +11,8 @@ jobs:
11
steps:
12
- name: Checkout code
13
uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0
16
- name: Build project
17
uses: actions/setup-node@v2-beta
18
with:
@@ -25,10 +27,6 @@ jobs:
25
27
- name: Get Current Tag
26
28
id: get_current_tag
29
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- - run: |
- git tag
30
31
- echo $(git tag | tail -n 2 | head -n 1)
32
- name: Get Previous tag
33
id: previous_tag
34
run: echo ::set-output name=tag::$(git tag | tail -n 2 | head -n 1)
0 commit comments