Skip to content

Commit 016081e

Browse files
committed
chore(ci): fix job condition
1 parent 31802f7 commit 016081e

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
name: release
1+
---
2+
name: Release
23

34
on:
45
push:
56
tags:
6-
- '*'
7+
- "*"
78

89
jobs:
910
release:
10-
if: github.event.base_ref == 'refs/heads/master'
1111
name: Create release
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Create release
15-
uses: actions/create-release@v1
16-
env:
17-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18-
with:
19-
tag_name: ${{ github.ref }}
20-
release_name: Release ${{ github.ref }}
21-
draft: false
22-
prerelease: false
23-
14+
- name: Create release
15+
uses: actions/create-release@v1
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
tag_name: ${{ github.ref }}
20+
release_name: Release ${{ github.ref }}
21+
draft: false
22+
prerelease: false

0 commit comments

Comments
 (0)