Skip to content

Commit 7cab553

Browse files
committed
add release
1 parent a6deca4 commit 7cab553

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_frontend.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
name: dist
6060
path: dist
6161
- name: Create Release
62-
if: github.ref_type == "tag"
62+
if: ${{ github.ref_type == "tag" }}
6363
id: create_release
6464
uses: actions/create-release@v1
6565
env:
@@ -70,10 +70,10 @@ jobs:
7070
draft: ${{ contains( github.ref_name, 'rc') }}
7171
prerelease: false
7272
- name: Create archive
73-
if: github.ref_type == "tag"
73+
if: ${{ github.ref_type == "tag" }}
7474
run: tar czf frontend.tar.gz dist
7575
- name: Upload Built Frontend
76-
if: github.ref_type == "tag"
76+
if: ${{ github.ref_type == "tag" }}
7777
uses: actions/upload-release-asset@v1
7878
env:
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -83,7 +83,7 @@ jobs:
8383
asset_name: frontend.tar.gz
8484
asset_content_type: application/gzip
8585
- uses: eregon/publish-release@v1
86-
if: github.ref_type == "tag"
86+
if: ${{ github.ref_type == "tag" }}
8787
env:
8888
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8989
with:

0 commit comments

Comments
 (0)