Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zo-Bro-23 authored Dec 7, 2022
1 parent c4594d8 commit 0f01e2a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
on:
push:
workflow_dispatch:
inputs:
tag:
description: 'Tag'
required: true
default: 'v1.18.0'

name: Create Release

Expand All @@ -13,15 +18,15 @@ jobs:
- name: Build project # This would actually build your project, using zip for an example artifact
run: |
yarn
yarn build:win
yarn build:actions
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.18.0
release_name: Release v1.18.0
tag_name: ${{ github.event.inputs.tag }}
release_name: Release ${{ github.event.inputs.tag }}
draft: false
prerelease: false
- name: Upload Release Asset
Expand Down

0 comments on commit 0f01e2a

Please sign in to comment.