Skip to content

Commit

Permalink
change to manual release
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkoz committed Apr 13, 2021
1 parent bfbde9e commit d284628
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
@@ -1,9 +1,11 @@
name: "tagged-release"

on:
push:
branches:
- "main"
on:
workflow_dispatch:
inputs:
version:
description: 'Version number, like : v1.0'
required: true

jobs:
tagged-release:
Expand All @@ -19,7 +21,7 @@ jobs:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
automatic_release_tag: "${{ github.event.inputs.version }}"
prerelease: false
files: |
build/*

0 comments on commit d284628

Please sign in to comment.