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

Commit 53869ac

Browse files
committed
Release if starting with "v"
1 parent ae34fe4 commit 53869ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
# Sequence of patterns matched against refs/tags
44
tags:
5-
- '*'
5+
- 'v*'
66

77
name: Upload Release Asset
88

@@ -27,12 +27,12 @@ jobs:
2727
draft: false
2828
prerelease: true
2929
- name: Upload Release Asset
30-
id: upload-release-asset
30+
id: upload-release-asset
3131
uses: actions/upload-release-asset@v1
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
with:
35-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
35+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
3636
asset_path: ${{github.workspace}}/${{ github.event.repository.name }}.zip
3737
asset_name: ${{ github.event.repository.name }}.zip
3838
asset_content_type: application/zip

0 commit comments

Comments
 (0)