Skip to content

Commit

Permalink
chore(ci): enable release.yml for patch/ci-* branches to enable t…
Browse files Browse the repository at this point in the history
…esting
  • Loading branch information
yvt committed Sep 2, 2022
1 parent 5ff0047 commit 0714aea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
tags:
- '[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'
branches:
- 'patch/ci-*'

jobs:
fetch-grammars:
Expand Down Expand Up @@ -261,9 +263,17 @@ jobs:
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
if: github.ref == 'ref/heads/master'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*
file_glob: true
tag: ${{ steps.tagname.outputs.val }}
overwrite: true

- name: Upload binaries as artifact
uses: actions/upload-artifact@v2
if: github.ref != 'ref/heads/master'
with:
name: release
path: dist/*

0 comments on commit 0714aea

Please sign in to comment.