Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 96d9c10

Browse files
committed
fix workflow syntax
1 parent 252bfb1 commit 96d9c10

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/tag.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@ name: Tag creation
22

33
on:
44
push:
5-
tags:
6-
- v*
5+
tags:
6+
- v*
77

88
jobs:
99
release:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-latest
1111

12-
steps:
13-
- name: Get the version
14-
id: version
15-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
16-
shell: bash
12+
steps:
13+
- name: Get the version
14+
id: version
15+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
16+
shell: bash
1717

18-
- uses: apexskier/github-semver-parse@v1
19-
id: semver
20-
with:
21-
version: ${{ steps.version.outputs.VERSION }}
18+
- uses: apexskier/github-semver-parse@v1
19+
id: semver
20+
with:
21+
version: ${{ steps.version.outputs.VERSION }}
2222

23-
- name: Release
24-
if: ${{ steps.semver.outputs.version }}
25-
uses: actions/create-release@v1
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
28-
with:
29-
tag_name: ${{ steps.version.outputs.VERSION }}
30-
release_name: ${{ steps.version.outputs.VERSION }}
31-
prerelease: ${{ !!steps.semver.outputs.prerelease }}
23+
- name: Release
24+
if: ${{ steps.semver.outputs.version }}
25+
uses: actions/create-release@v1
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
28+
with:
29+
tag_name: ${{ steps.version.outputs.VERSION }}
30+
release_name: ${{ steps.version.outputs.VERSION }}
31+
prerelease: ${{ !!steps.semver.outputs.prerelease }}

0 commit comments

Comments
 (0)