Skip to content

Commit

Permalink
set tag manually
Browse files Browse the repository at this point in the history
  • Loading branch information
Dene33 committed Nov 27, 2023
1 parent dcc2f9b commit 4f3fcf6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pyinstaller_windows_directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ on:
release:
types:
- released # When new version of your action is released
workflow_dispatch: # To run manually on any tag
workflow_dispatch:
inputs:
tag:
description: 'Tag to use'
required: true
default: 'latest'


jobs:
Expand All @@ -29,8 +34,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.event.inputs.tag }}
release_name: Release ${{ github.event.inputs.tag }}
body: |
Windows Release
draft: false
Expand Down Expand Up @@ -68,8 +73,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.event.inputs.tag }}
release_name: Release ${{ github.event.inputs.tag }}
body: |
Ubuntu Release
draft: false
Expand Down

0 comments on commit 4f3fcf6

Please sign in to comment.